public class DefaultVaultAuthenticationProvider extends Object implements VaultAuthenticationProvider
| Constructor and Description |
|---|
DefaultVaultAuthenticationProvider() |
DefaultVaultAuthenticationProvider(KubernetesAuthenticationFactory kubernetesAuthenticationFactory,
TokenAuthenticationFactory tokenAuthenticationFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.vault.authentication.ClientAuthentication |
getAuthentication(VaultParams params)
Retrieves the appropriate authentication method based on the provided authentication type.
|
public DefaultVaultAuthenticationProvider(KubernetesAuthenticationFactory kubernetesAuthenticationFactory, TokenAuthenticationFactory tokenAuthenticationFactory)
public DefaultVaultAuthenticationProvider()
public org.springframework.vault.authentication.ClientAuthentication getAuthentication(VaultParams params)
getAuthentication in interface VaultAuthenticationProviderparams - The parameters to configure Vault client.SecretStoreException - if the authentication configuration is not found for provided authentication method.Copyright © 2023 Atlassian. All rights reserved.