Skip to content

Commit

Permalink
update initializer to use ENV settings
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Oct 3, 2024
1 parent ae31955 commit 995246e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Application < Rails::Application

config.after_initialize do
# bootstrap with provided token, then rotate
Clients::Vault.token = Rails.configuration.astral[:vault_token]
Clients::Vault.token = Config[:vault_token]
Clients::Vault.configure_kv
Clients::Vault.configure_pki
Clients::Vault.rotate_token
Expand Down

0 comments on commit 995246e

Please sign in to comment.