Browse Source

Infra documentation (#290)

* Add external access S3 bucket service key creation

* Indentation
pull/280/head
baarkerlounger 3 years ago committed by GitHub
parent
commit
b19ce831ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      infrastructure_setup.md

10
infrastructure_setup.md

@ -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"}'`

Loading…
Cancel
Save