Class Kv1SecurityProvider.Kv1SecretConfig.Builder
java.lang.Object
io.helidon.integrations.vault.secrets.kv1.Kv1SecurityProvider.Kv1SecretConfig.Builder
- All Implemented Interfaces:
Builder<Kv1SecurityProvider.Kv1SecretConfig.Builder,,Kv1SecurityProvider.Kv1SecretConfig> Supplier<Kv1SecurityProvider.Kv1SecretConfig>
- Enclosing class:
Kv1SecurityProvider.Kv1SecretConfig
public static class Kv1SecurityProvider.Kv1SecretConfig.Builder
extends Object
implements Builder<Kv1SecurityProvider.Kv1SecretConfig.Builder,Kv1SecurityProvider.Kv1SecretConfig>
Fluent API builder for
Kv1SecurityProvider.Kv1SecretConfig.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.Update this builder from configuration.Key within the secret used to obtain the value.Path of the secret on Vault's KV1 secret provider.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<Kv1SecurityProvider.Kv1SecretConfig.Builder,Kv1SecurityProvider.Kv1SecretConfig> - Returns:
- instance of the built type
-
config
Update this builder from configuration. Configuration options:Secret configuration key description builder method path Path of the secret on Vault's KV2 secret provider path(String)key Key within the secret used to obtain the value key(String)- Parameters:
config- config to use- Returns:
- updated builder
-
path
Path of the secret on Vault's KV1 secret provider.- Parameters:
path- secret path- Returns:
- updated builder
-
key
Key within the secret used to obtain the value.- Parameters:
key- key to use- Returns:
- updated builder
-