Class DbEngineProvider
java.lang.Object
io.helidon.integrations.vault.secrets.database.DbEngineProvider
- All Implemented Interfaces:
InjectionProvider,SecretsEngineProvider<DbSecrets>
public class DbEngineProvider
extends Object
implements SecretsEngineProvider<DbSecrets>, InjectionProvider
Service for
DbSecrets.ENGINE.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.vault.spi.InjectionProvider
InjectionProvider.CreateInstanceFunction<T>, InjectionProvider.InjectionType<T>, InjectionProvider.InstanceConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSecrets(Config config, RestApi restApi, String mount) Create a secrets instance to provide API to access this engine.List of injectable types supported by this provider.Supported engine by this provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.integrations.vault.spi.SecretsEngineProvider
createSecrets
-
Constructor Details
-
DbEngineProvider
public DbEngineProvider()
-
-
Method Details
-
supportedEngine
Description copied from interface:SecretsEngineProviderSupported engine by this provider.- Specified by:
supportedEnginein interfaceSecretsEngineProvider<DbSecrets>- Returns:
- engine that is supported, used to choose the correct provider for an engine
- See Also:
-
createSecrets
Description copied from interface:SecretsEngineProviderCreate a secrets instance to provide API to access this engine.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Specified by:
createSecretsin interfaceSecretsEngineProvider<DbSecrets>- Parameters:
config- configuration that can be used to customize the enginerestApi- to access REST API of the vault, preconfigured with tokenmount- mount point of this engine's secrets- Returns:
- a new secrets instance to be used to access secrets\
-
injectables
Description copied from interface:InjectionProviderList of injectable types supported by this provider.- Specified by:
injectablesin interfaceInjectionProvider- Returns:
- list of types
-