Skip to content

Instantly share code, notes, and snippets.

Embed
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