Interface VaultAuthenticationProvider

All Known Implementing Classes:
DefaultVaultAuthenticationProvider

public interface VaultAuthenticationProvider
The VaultAuthenticationProvider class provides methods for retrieving the appropriate authentication method for interacting with a vault.
Since:
3.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.vault.authentication.ClientAuthentication
    Retrieves the appropriate authentication method based on the provided authentication type.
  • Method Details

    • getAuthentication

      org.springframework.vault.authentication.ClientAuthentication getAuthentication(VaultConfig params)
      Retrieves the appropriate authentication method based on the provided authentication type.
      Parameters:
      params - The parameters to configure Vault client.
      Returns:
      The ClientAuthentication corresponding to the provided authentication type or Token method if no method is provided
      Throws:
      SecretStoreException - if the authentication configuration is not found for provided authentication method.