Class ConfigVaultProvider.Builder
- java.lang.Object
-
- io.helidon.security.providers.config.vault.ConfigVaultProvider.Builder
-
- All Implemented Interfaces:
Builder<ConfigVaultProvider>
,Supplier<ConfigVaultProvider>
- Enclosing class:
- ConfigVaultProvider
public static class ConfigVaultProvider.Builder extends Object implements Builder<ConfigVaultProvider>
Fluent API builder forConfigVaultProvider
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigVaultProvider
build()
Build the instance from this builder.ConfigVaultProvider.Builder
config(Config config)
Update this builder from provided configuration.ConfigVaultProvider.Builder
masterPassword(char[] masterPassword)
Configure master password used for encryption/decryption.
-
-
-
Method Detail
-
build
public ConfigVaultProvider build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<ConfigVaultProvider>
- Returns:
- instance of the built type
-
config
public ConfigVaultProvider.Builder config(Config config)
Update this builder from provided configuration.- Parameters:
config
- configuration to use- Returns:
- updated builder
-
masterPassword
public ConfigVaultProvider.Builder masterPassword(char[] masterPassword)
Configure master password used for encryption/decryption. If master password cannot be obtained from any source (this method, configuration, system property, environment variable), encryption and decryption will not be supported.- Parameters:
masterPassword
- password to use- Returns:
- updated builder
-
-