Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2019 05:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Env Encrypted file Secret key path Command
Generic config/credentials.yml.enc config/master.key rails credentials:edit
Development config/credentials/development.yml.enc config/credentials/development.key rails credentials:edit --environment development
Test config/credentials/test.yml.enc config/credentials/test.key rails credentials:edit --environment test
Staging config/credentials/staging.yml.enc config/credentials/staging.key rails credentials:edit --environment staging
Production config/credentials/production.yml.enc config/credentials/production.key rails credentials:edit --environment production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment