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