US-EPA-CAMD / easey-ui

Project Management repo for EPA Clean Air Markets Division (CAMD) Business Suite of applications
MIT License
0 stars 0 forks source link

Send key to S3 bucket to CEDRI #6212

Open annalbrecht opened 7 months ago

annalbrecht commented 7 months ago

We need to create a new key for the S3 bucket and send it to CEDRI so that they can access the bucket to access the MATS bulk files.

For reference: https://github.com/US-EPA-CAMD/easey-docs/blob/develop/CAMDRunbook.md#56-s3-buckets

IkeC-dpc commented 7 months ago

Prerequisites:

  1. Cloud.gov account
  2. Access to Cloud "Spaces" (Dev/ Test) for the target "Organization" (epa-easey)
  3. Install Cloud Foundry CLI
  4. Install Service Connect Plugin

Steps:

  1. Run command: cf login -a api.fr.cloud.gov --sso
  2. Get Temporary Authentication Code at https://login.fr.cloud.gov/passcode
  3. Proceed with the standard cloud.gov login process
  4. Temporary Authentication Code: xxxxxxxxxxx
  5. Copy the code
  6. Paste in command prompt and hit Enter
  7. Targeted org epa-easey.
  8. Select a space: 1. dev 2. test
  9. Select 1
  10. Run command: cf connect-to-service -no-client ssh-tunnel mats-bulk-files
  11. Run command: cf service-keys mats-bulk-files
  12. Run command: cf service-key mats-bulk-files mats-bulk-files-svc-key
  13. Generates Service Key: "secret_accesskey": <For Confidential reasons removing the Key from here. Once ready for testing, please contact Ike to obtain the Key. Email: ichowdhury@decisionpointcorp.com>_

@ibarra-michelle @maheese This should be sent to CEDRI with instructions.