Interface AuthMethodProvider<T>
- 
- Type Parameters:
- T- type of the API supported by this provider
 - All Known Implementing Classes:
- AppRoleAuthProvider,- K8sAuthProvider,- TokenAuthProvider
 
 public interface AuthMethodProvider<T>A Java Service Loader SPI to support additional auth methods of Vault.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description TcreateAuth(Config config, RestApi restAccess, String path)Create an auth instance to provide API to access this method.AuthMethod<T>supportedMethod()Supported method by this provider.
 
- 
- 
- 
Method Detail- 
supportedMethodAuthMethod<T> supportedMethod() Supported method by this provider.- Returns:
- method that is supported, used to choose the correct provider for a method
- See Also:
- Vault.auth(io.helidon.integrations.vault.AuthMethod)
 
 - 
createAuthT createAuth(Config config, RestApi restAccess, String path) Create an auth instance to provide API to access this method.- Parameters:
- config- configuration that can be used to customize the engine
- restAccess- to access REST API of the vault, preconfigured with token
- path- path of this auth method instance
- Returns:
- a new secrets instance to be used to access secrets
 
 
- 
 
-