aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/credentials/USAGE
diff options
context:
space:
mode:
authorWojciech Wnętrzak <w.wnetrzak@gmail.com>2018-09-20 12:23:47 +0200
committerWojciech Wnętrzak <w.wnetrzak@gmail.com>2018-09-20 12:23:50 +0200
commitb4b70ef2bfd922723aa02578d3feba887f5249dc (patch)
tree3f82a00cfb611bf47f01027e693a5cdbc358601c /railties/lib/rails/commands/credentials/USAGE
parent2487a379869648fd3e9a2a27be6b28e7a1aab98a (diff)
downloadrails-b4b70ef2bfd922723aa02578d3feba887f5249dc.tar.gz
rails-b4b70ef2bfd922723aa02578d3feba887f5249dc.tar.bz2
rails-b4b70ef2bfd922723aa02578d3feba887f5249dc.zip
Fixed to RAILS_MASTER_KEY as a default env key for decrypting.
Fixes mistake left in https://github.com/rails/rails/pull/33521/files#diff-2a29095afcfe2c683b82a779a94c2208R59 and misunderstanding in https://github.com/rails/rails/commit/d69b04de0ff33237209afea6f6cac3ab27934908
Diffstat (limited to 'railties/lib/rails/commands/credentials/USAGE')
-rw-r--r--railties/lib/rails/commands/credentials/USAGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/credentials/USAGE b/railties/lib/rails/commands/credentials/USAGE
index 513afcbc78..6b33d1ab74 100644
--- a/railties/lib/rails/commands/credentials/USAGE
+++ b/railties/lib/rails/commands/credentials/USAGE
@@ -43,7 +43,7 @@ from leaking.
It is possible to have credentials for each environment. If the file for current environment exists it will take
precedence over `config/credentials.yml.enc`, thus for `production` environment first look for
-`config/credentials/production.yml.enc` that can be decrypted using master key taken from `ENV["RAILS_PRODUCTION_KEY"]`
+`config/credentials/production.yml.enc` that can be decrypted using master key taken from `ENV["RAILS_MASTER_KEY"]`
or stored in `config/credentials/production.key`.
To edit given file use command `rails credentials:edit --environment production`
Default paths can be overwritten by setting `config.credentials.content_path` and `config.credentials.key_path`.