Skip to content

Instantly share code, notes, and snippets.

@TigerWolf
Created February 29, 2020 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TigerWolf/6cac2fe213a8f2eab57abb50809b00c6 to your computer and use it in GitHub Desktop.
Save TigerWolf/6cac2fe213a8f2eab57abb50809b00c6 to your computer and use it in GitHub Desktop.
#Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
amazon:
service: S3
access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
region: us-west-2
bucket: your_own_bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment