aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks.rb
diff options
context:
space:
mode:
authorWojciech Wnętrzak <w.wnetrzak@gmail.com>2018-09-19 23:02:00 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-09-19 14:02:00 -0700
commite0d3313bac6bd2fbf10df27d79d72157f63ae6ba (patch)
tree3bab715b83dff89b0ef98f2828f71af68903aec8 /railties/lib/rails/tasks.rb
parente184d1a94e3ecfbc22823fbb9097992158a40cb2 (diff)
downloadrails-e0d3313bac6bd2fbf10df27d79d72157f63ae6ba.tar.gz
rails-e0d3313bac6bd2fbf10df27d79d72157f63ae6ba.tar.bz2
rails-e0d3313bac6bd2fbf10df27d79d72157f63ae6ba.zip
Support environment specific credentials file. (#33521)
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`.
Diffstat (limited to 'railties/lib/rails/tasks.rb')
0 files changed, 0 insertions, 0 deletions