Class Kv1SecurityProvider.Kv1SecretConfig.Builder
- java.lang.Object
-
- io.helidon.integrations.vault.secrets.kv1.Kv1SecurityProvider.Kv1SecretConfig.Builder
-
- All Implemented Interfaces:
Builder<Kv1SecurityProvider.Kv1SecretConfig>
,Supplier<Kv1SecurityProvider.Kv1SecretConfig>
- Enclosing class:
- Kv1SecurityProvider.Kv1SecretConfig
public static class Kv1SecurityProvider.Kv1SecretConfig.Builder extends Object implements Builder<Kv1SecurityProvider.Kv1SecretConfig>
Fluent API builder forKv1SecurityProvider.Kv1SecretConfig
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Kv1SecurityProvider.Kv1SecretConfig
build()
Build the instance from this builder.Kv1SecurityProvider.Kv1SecretConfig.Builder
config(Config config)
Update this builder from configuration.Kv1SecurityProvider.Kv1SecretConfig.Builder
key(String key)
Key within the secret used to obtain the value.Kv1SecurityProvider.Kv1SecretConfig.Builder
path(String path)
Path of the secret on Vault's KV1 secret provider.
-
-
-
Method Detail
-
build
public Kv1SecurityProvider.Kv1SecretConfig build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<Kv1SecurityProvider.Kv1SecretConfig>
- Returns:
- instance of the built type
-
config
public Kv1SecurityProvider.Kv1SecretConfig.Builder config(Config 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
public Kv1SecurityProvider.Kv1SecretConfig.Builder path(String path)
Path of the secret on Vault's KV1 secret provider.- Parameters:
path
- secret path- Returns:
- updated builder
-
key
public Kv1SecurityProvider.Kv1SecretConfig.Builder key(String key)
Key within the secret used to obtain the value.- Parameters:
key
- key to use- Returns:
- updated builder
-
-