Created
June 26, 2018 16:39
-
-
Save hazmatzo/5d2021d5f2f0f9beac7268c2a9675674 to your computer and use it in GitHub Desktop.
Shows the standard way to display credentials in Rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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