Skip to content

Instantly share code, notes, and snippets.

@hazmatzo
Created June 26, 2018 16:39
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 hazmatzo/5d2021d5f2f0f9beac7268c2a9675674 to your computer and use it in GitHub Desktop.
Save hazmatzo/5d2021d5f2f0f9beac7268c2a9675674 to your computer and use it in GitHub Desktop.
Shows the standard way to display credentials in Rails
access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment