Class CubbyholeEngineProvider
- java.lang.Object
-
- io.helidon.integrations.vault.secrets.cubbyhole.CubbyholeEngineProvider
-
- All Implemented Interfaces:
InjectionProvider
,SecretsEngineProvider<CubbyholeSecretsRx>
public class CubbyholeEngineProvider extends Object implements SecretsEngineProvider<CubbyholeSecretsRx>, InjectionProvider
Provider supporting theCubbyhole
secrets engine API.
-
-
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 Constructor Description CubbyholeEngineProvider()
Deprecated.Do not use this constructor, this is a service loader service!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CubbyholeSecretsRx
createSecrets(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<CubbyholeSecretsRx>
supportedEngine()
Supported engine by this provider.
-
-
-
Constructor Detail
-
CubbyholeEngineProvider
@Deprecated public CubbyholeEngineProvider()
Deprecated.Do not use this constructor, this is a service loader service!
-
-
Method Detail
-
supportedEngine
public Engine<CubbyholeSecretsRx> supportedEngine()
Description copied from interface:SecretsEngineProvider
Supported engine by this provider.- Specified by:
supportedEngine
in interfaceSecretsEngineProvider<CubbyholeSecretsRx>
- Returns:
- engine that is supported, used to choose the correct provider for an engine
- See Also:
Vault.secrets(io.helidon.integrations.vault.Engine)
-
createSecrets
public CubbyholeSecretsRx createSecrets(Config config, RestApi restApi, String mount)
Description copied from interface:SecretsEngineProvider
Create a secrets instance to provide API to access this engine.- Specified by:
createSecrets
in interfaceSecretsEngineProvider<CubbyholeSecretsRx>
- 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
public List<InjectionProvider.InjectionType<?>> injectables()
Description copied from interface:InjectionProvider
List of injectable types supported by this provider.- Specified by:
injectables
in interfaceInjectionProvider
- Returns:
- list of types
-
-