aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/credentials_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Support environment specific credentials file. (#33521)Wojciech Wnętrzak2018-09-191-0/+49
For `production` environment look first for `config/credentials/production.yml.enc` file that can be decrypted by `ENV["RAILS_MASTER_KEY"]` or `config/credentials/production.key` master key. Edit given environment credentials file by command `rails credentials:edit --environment production`. Default behavior can be overwritten by setting `config.credentials.content_path` and `config.credentials.key_path`.