Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt secret management #30

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0

# We don't need to encrypt credentials as there is no user specific content.
config.credentials.content_path = Rails.root.join("config", "credentials", "#{Rails.env}.yml")

# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
Expand Down
1 change: 1 addition & 0 deletions config/credentials/development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
secret_key_base: '6bd1dea413ba82f67032169cfa2059048db9656f97b6a7a12208a4e553090038767427670dd73d5545d97de59fe7948aeec70015f7fee5eb9c29ffaa21121ac9'
1 change: 1 addition & 0 deletions config/credentials/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
secret_key_base: 'cece5ec9581252e744c45fd4abbe84c2b3b27f281e553935095645a1d1773d00a978c8989ad9fef858d04c4f7fc184a203d93e85768de9d644b5cd327712f5ad'
1 change: 1 addition & 0 deletions config/credentials/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
secret_key_base: '7b628a6c565b3692d25a3ea724a15626b7677bf5df69ed90777e62c2e188afbe558350c3ff772b81e87b9b4c8355dbf2546a266e2cc2db62410235e6ee33e6d7'
8 changes: 0 additions & 8 deletions config/secrets.yml

This file was deleted.

Loading