method
encrypted_file
v7.1.3.4 -
Show latest stable
- Class:
Rails::Generators::CredentialsGenerator
encrypted_file()private
No documentation available.
# File railties/lib/rails/generators/rails/credentials/credentials_generator.rb, line 33
def encrypted_file
ActiveSupport::EncryptedConfiguration.new(
config_path: content_path,
key_path: key_path,
env_key: "RAILS_MASTER_KEY",
raise_if_missing_key: true
)
end