Fix: Don't error when Vault role-id auth is supported

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-11-20 15:51:26 +01:00
parent fcc21cfb75
commit 3bd447261f
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -148,6 +148,7 @@ func (v VaultStore) authorizeVault() error {
} }
v.client.SetToken(loginSecret.Auth.ClientToken) v.client.SetToken(loginSecret.Auth.ClientToken)
return nil
} }
if token := os.Getenv(api.EnvVaultToken); token != "" { if token := os.Getenv(api.EnvVaultToken); token != "" {