Class DbEngineProvider
- java.lang.Object
- 
- io.helidon.integrations.vault.secrets.database.DbEngineProvider
 
- 
- All Implemented Interfaces:
- InjectionProvider,- SecretsEngineProvider<DbSecretsRx>
 
 public class DbEngineProvider extends Object implements SecretsEngineProvider<DbSecretsRx>, InjectionProvider Service forDbSecretsRx.ENGINE.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface io.helidon.integrations.vault.spi.InjectionProviderInjectionProvider.CreateInstanceFunction<T>, InjectionProvider.InjectionType<T>, InjectionProvider.InstanceConfig
 
- 
 - 
Constructor SummaryConstructors Constructor Description DbEngineProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSecretsRxcreateSecrets(Config config, RestApi restApi, String mount)Create a secrets instance to provide API to access this engine.List<InjectionProvider.InjectionType<?>>injectables()List of injectable types supported by this provider.Engine<DbSecretsRx>supportedEngine()Supported engine by this provider.
 
- 
- 
- 
Method Detail- 
supportedEnginepublic Engine<DbSecretsRx> supportedEngine() Description copied from interface:SecretsEngineProviderSupported engine by this provider.- Specified by:
- supportedEnginein interface- SecretsEngineProvider<DbSecretsRx>
- Returns:
- engine that is supported, used to choose the correct provider for an engine
- See Also:
- Vault.secrets(io.helidon.integrations.vault.Engine)
 
 - 
createSecretspublic DbSecretsRx createSecrets(Config config, RestApi restApi, String mount) Description copied from interface:SecretsEngineProviderCreate a secrets instance to provide API to access this engine.- Specified by:
- createSecretsin interface- SecretsEngineProvider<DbSecretsRx>
- Parameters:
- config- configuration that can be used to customize the engine
- restApi- to access REST API of the vault, preconfigured with token
- mount- mount point of this engine's secrets
- Returns:
- a new secrets instance to be used to access secrets
 
 - 
injectablespublic List<InjectionProvider.InjectionType<?>> injectables() Description copied from interface:InjectionProviderList of injectable types supported by this provider.- Specified by:
- injectablesin interface- InjectionProvider
- Returns:
- list of types
 
 
- 
 
-