java.lang.Object
io.helidon.integrations.vault.auths.common.NoVaultAuth
All Implemented Interfaces:
VaultAuth

@Priority(10000) public class NoVaultAuth extends Object implements VaultAuth
Java Service Loader implementation for creating an unauthenticated Vault instance.
  • Constructor Details

    • NoVaultAuth

      public NoVaultAuth()
      Required for service loader.
  • Method Details

    • create

      public static NoVaultAuth create()
      Create a new instance.
      Returns:
      a new unauthenticated Vault authentication
    • authenticate

      public Optional<RestApi> authenticate(Config config, Vault.Builder vaultBuilder)
      Description copied from interface: VaultAuth
      Provide RestApi to use with Vault operations.
      Specified by:
      authenticate in interface VaultAuth
      Parameters:
      config - configuration (may be empty if not provided by user)
      vaultBuilder - vault builder
      Returns:
      RestApi in case this Vault authentication can authenticate