All Known Implementing Classes:
AppRoleVaultAuth, K8sVaultAuth, NoVaultAuth, TokenVaultAuth

public interface VaultAuth
Java Service Loader service providing means of authenticating this Vault client with a Vault instance.
  • Method Details

    • authenticate

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