Sha256: 3513b359c8b987dd24e7e3dd75168e5bf92668d1dccbc38ec57a1997829b9dbe

Contents?: true

Size: 911 Bytes

Versions: 31

Compression:

Stored size: 911 Bytes

Contents

=== Storing Encrypted Files in Source Control

The Rails `encrypted` commands provide access to encrypted files or configurations.
See the `Rails.application.encrypted` documentation for using them in your app.

=== Encryption Keys

By default, Rails looks for the encryption key in `config/master.key` or
`ENV["RAILS_MASTER_KEY"]`, but that lookup can be overriden with `--key`:

   rails encrypted:edit config/encrypted_file.yml.enc --key config/encrypted_file.key

Don't commit the key! Add it to your source control's ignore file. If you use
Git, Rails handles this for you.

=== Editing Files

To edit or create an encrypted file use:

   rails encrypted:edit config/encrypted_file.yml.enc

This opens a temporary file in `$EDITOR` with the decrypted contents for editing.

=== Viewing Files

To print the decrypted contents of an encrypted file use:

   rails encrypted:show config/encrypted_file.yml.enc

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
railties-5.2.8.1 lib/rails/commands/encrypted/USAGE
railties-5.2.8 lib/rails/commands/encrypted/USAGE
railties-5.2.7.1 lib/rails/commands/encrypted/USAGE
railties-5.2.7 lib/rails/commands/encrypted/USAGE
railties-5.2.6.3 lib/rails/commands/encrypted/USAGE
railties-5.2.6.2 lib/rails/commands/encrypted/USAGE
railties-5.2.6.1 lib/rails/commands/encrypted/USAGE
railties-5.2.6 lib/rails/commands/encrypted/USAGE
railties-5.2.4.6 lib/rails/commands/encrypted/USAGE
railties-5.2.5 lib/rails/commands/encrypted/USAGE
railties-5.2.4.5 lib/rails/commands/encrypted/USAGE
railties-5.2.4.4 lib/rails/commands/encrypted/USAGE
railties-5.2.4.3 lib/rails/commands/encrypted/USAGE
railties-5.2.4.2 lib/rails/commands/encrypted/USAGE
railties-5.2.4.1 lib/rails/commands/encrypted/USAGE
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/encrypted/USAGE
railties-5.2.4 lib/rails/commands/encrypted/USAGE
railties-5.2.4.rc1 lib/rails/commands/encrypted/USAGE
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/encrypted/USAGE
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/encrypted/USAGE