-
- All Known Implementing Classes:
AppRoleVaultAuth
,K8sVaultAuth
,NoVaultAuth
,TokenVaultAuth
public interface VaultAuth
Java Service Loader service providing means of authenticating this Vault client with a Vault instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<RestApi>
authenticate(Config config, Vault.Builder vaultBuilder)
-
-
-
Method Detail
-
authenticate
Optional<RestApi> authenticate(Config config, Vault.Builder vaultBuilder)
- Parameters:
config
- configuration (may be empty if not provided by user)vaultBuilder
- vault builder- Returns:
RestApi
in case this Vault authentication can authenticate
-
-