Class ConfigVaultProvider.Builder
java.lang.Object
io.helidon.security.providers.config.vault.ConfigVaultProvider.Builder
- All Implemented Interfaces:
Builder<ConfigVaultProvider.Builder,,ConfigVaultProvider> Supplier<ConfigVaultProvider>
- Enclosing class:
ConfigVaultProvider
public static class ConfigVaultProvider.Builder
extends Object
implements Builder<ConfigVaultProvider.Builder,ConfigVaultProvider>
Fluent API builder for
ConfigVaultProvider.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.Update this builder from provided configuration.masterPassword(char[] masterPassword) Configure master password used for encryption/decryption.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<ConfigVaultProvider.Builder,ConfigVaultProvider> - Returns:
- instance of the built type
-
config
Update this builder from provided configuration.- Parameters:
config- configuration to use- Returns:
- updated builder
-
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
-