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.CubbyholeSecretConfig
build()
Build the instance from this builder.CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder
config(Config config)
Update this builder from configuration.CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder
key(String key)
Key within the secret used to obtain the value.CubbyholeSecurityProvider.CubbyholeSecretConfig.Builder
path(String path)
Path of the secret on Vault's Cubbyhole secret provider.
-
-
-
Method Detail
-
build
public CubbyholeSecurityProvider.CubbyholeSecretConfig build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in 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
-
-