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 |
Created
October 15, 2019 05:09
-
-
Save lucascaton/5bc4478734dabeec5f4896566361bbf6 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment