diff --git a/internal/util/vault_tokens.go b/internal/util/vault_tokens.go index cb9e4481c..1f098cfc0 100644 --- a/internal/util/vault_tokens.go +++ b/internal/util/vault_tokens.go @@ -199,7 +199,7 @@ func initVaultTokensKMS(args KMSInitializerArgs) (EncryptionKMS, error) { } kms := &VaultTokensKMS{} - err = kms.initConnection(args.Config) + err = kms.initConnection(config) if err != nil { return nil, fmt.Errorf("failed to initialize Vault connection: %w", err) }