Class CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder
java.lang.Object
io.helidon.integrations.vault.secrets.cubbyhole.CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder
- All Implemented Interfaces:
Builder<CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder,,CubbyholeSecurityProvider.CubbyholeSecretConfig> Supplier<CubbyholeSecurityProvider.CubbyholeSecretConfig>
- Enclosing class:
CubbyholeSecurityProvider.CubbyholeSecretConfig
public static class CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder
extends Object
implements Builder<CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder,CubbyholeSecurityProvider.CubbyholeSecretConfig>
Fluent API builder for
CubbyholeSecurityProvider.CubbyholeSecretConfig.-
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 Cubbyhole secret provider.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder,CubbyholeSecurityProvider.CubbyholeSecretConfig> - 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 Cubbyhole 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
-