Class AppRoleAuthProvider
java.lang.Object
io.helidon.integrations.vault.auths.approle.AppRoleAuthProvider
- All Implemented Interfaces:
- AuthMethodProvider<AppRoleAuthRx>,- InjectionProvider
public class AppRoleAuthProvider
extends Object
implements AuthMethodProvider<AppRoleAuthRx>, InjectionProvider
Java Service Loader implementation for AppRole authentication method.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.integrations.vault.spi.InjectionProviderInjectionProvider.CreateInstanceFunction<T>, InjectionProvider.InjectionType<T>, InjectionProvider.InstanceConfig
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateAuth(Config config, RestApi restApi, String path) Create an auth instance to provide API to access this method.List of injectable types supported by this provider.Supported method by this provider.
- 
Constructor Details- 
AppRoleAuthProviderpublic AppRoleAuthProvider()
 
- 
- 
Method Details- 
supportedMethodDescription copied from interface:AuthMethodProviderSupported method by this provider.- Specified by:
- supportedMethodin interface- AuthMethodProvider<AppRoleAuthRx>
- Returns:
- method that is supported, used to choose the correct provider for a method
- See Also:
 
- 
createAuthDescription copied from interface:AuthMethodProviderCreate an auth instance to provide API to access this method.- Specified by:
- createAuthin interface- AuthMethodProvider<AppRoleAuthRx>
- Parameters:
- config- configuration that can be used to customize the engine
- restApi- 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
 
- 
injectablesDescription copied from interface:InjectionProviderList of injectable types supported by this provider.- Specified by:
- injectablesin interface- InjectionProvider
- Returns:
- list of types
 
 
-