Skip to content

Commit

Permalink
adapt secret management
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Aug 28, 2024
1 parent ee608b3 commit f090d1f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
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.

0 comments on commit f090d1f

Please sign in to comment.