diff --git a/config/application.rb b/config/application.rb index f54f056..c3cdf58 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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