class Rails::Generators::CredentialsGenerator

def encrypted_file

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