|
|
@ -21,6 +21,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
`cf bind-service dluhc-core-staging dluhc-core-staging-export-bucket -c '{"permissions": "read-write"}'` |
|
|
|
`cf bind-service dluhc-core-staging dluhc-core-staging-export-bucket -c '{"permissions": "read-write"}'` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6. Create a service keys for accessing the S3 bucket from outside Gov PaaS:\ |
|
|
|
|
|
|
|
`cf create-service-key dluhc-core-staging-import-bucket data-import -c '{"allow_external_access": true}'` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`cf create-service-key dluhc-core-staging-export-bucket data-export -c '{"allow_external_access": true, "permissions": "read-only"}'` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Production |
|
|
|
# Production |
|
|
|
|
|
|
|
|
|
|
@ -44,3 +49,8 @@ |
|
|
|
`cf bind-service dluhc-core-production dluhc-core-production-import-bucket -c '{"permissions": "read-only"}'` |
|
|
|
`cf bind-service dluhc-core-production dluhc-core-production-import-bucket -c '{"permissions": "read-only"}'` |
|
|
|
|
|
|
|
|
|
|
|
`cf bind-service dluhc-core-production dluhc-core-production-export-bucket -c '{"permissions": "read-write"}'` |
|
|
|
`cf bind-service dluhc-core-production dluhc-core-production-export-bucket -c '{"permissions": "read-write"}'` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6. Create a service keys for accessing the S3 bucket from outside Gov PaaS:\ |
|
|
|
|
|
|
|
`cf create-service-key dluhc-core-production-import-bucket data-import -c '{"allow_external_access": true}'` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`cf create-service-key dluhc-core-production-export-bucket data-export -c '{"allow_external_access": true, "permissions": "read-only"}'` |
|
|
|