Interface SecretsEngineProvider<T extends SecretsRx>
-
- Type Parameters:
T
- type of the secrets supported by this provider
- All Known Implementing Classes:
CubbyholeEngineProvider
,DbEngineProvider
,Kv1EngineProvider
,Kv2EngineProvider
,PkiEngineProvider
,TransitEngineProvider
public interface SecretsEngineProvider<T extends SecretsRx>
A Java Service Loader SPI to support additional secret engines of Vault.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
createSecrets(Config config, RestApi restAccess, String mount)
Create a secrets instance to provide API to access this engine.Engine<T>
supportedEngine()
Supported engine by this provider.
-
-
-
Method Detail
-
supportedEngine
Engine<T> supportedEngine()
Supported engine by this provider.- Returns:
- engine that is supported, used to choose the correct provider for an engine
- See Also:
Vault.secrets(io.helidon.integrations.vault.Engine)
-
createSecrets
T createSecrets(Config config, RestApi restAccess, String mount)
Create a secrets instance to provide API to access this engine.- Parameters:
config
- configuration that can be used to customize the enginerestAccess
- 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
-
-