Class Kv1SecurityProvider
java.lang.Object
io.helidon.integrations.vault.secrets.kv1.Kv1SecurityProvider
- All Implemented Interfaces:
SecretsProvider<Kv1SecurityProvider.Kv1SecretConfig>
,SecurityProvider
public class Kv1SecurityProvider
extends Object
implements SecretsProvider<Kv1SecurityProvider.Kv1SecretConfig>
Integration with Helidon Security.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configuration of a secret when using programmatic setup of security secrets. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
secret
Description copied from interface:SecretsProvider
Create secret supplier from configuration.- Specified by:
secret
in interfaceSecretsProvider<Kv1SecurityProvider.Kv1SecretConfig>
- Parameters:
config
- config located on the node of the specific secretconfig
node- Returns:
- supplier to retrieve the secret
-
secret
public Supplier<Single<Optional<String>>> secret(Kv1SecurityProvider.Kv1SecretConfig providerConfig) Description copied from interface:SecretsProvider
Create secret supplier from configuration object.- Specified by:
secret
in interfaceSecretsProvider<Kv1SecurityProvider.Kv1SecretConfig>
- Parameters:
providerConfig
- configuration of a specific secret- Returns:
- supplier to retrieve the secret
-