method
encrypted_file
rails 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