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 Details

    • build

      public ConfigVaultProvider build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Specified by:
      build in interface Builder<ConfigVaultProvider.Builder,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