Interface VaultTemplateFactory

All Known Implementing Classes:
DefaultVaultTemplateFactory

public interface VaultTemplateFactory
Provides a HashiCorp VaultTemplate when supplied with a Vault server endpoint and a client authentication.
Available authentication methods are listed in VaultAuthenticationMethod enum.
Since:
3.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.vault.core.VaultTemplate
    getTemplate(URI endpoint, org.springframework.vault.authentication.ClientAuthentication authentication)
    Retrieves a VaultTemplate instance with the given endpoint and client authentication.
  • Method Details

    • getTemplate

      org.springframework.vault.core.VaultTemplate getTemplate(URI endpoint, org.springframework.vault.authentication.ClientAuthentication authentication)
      Retrieves a VaultTemplate instance with the given endpoint and client authentication.
      Parameters:
      endpoint - The URI of the Vault endpoint to connect to.
      authentication - The client authentication to use for authentication with the Vault server.
      Returns:
      VaultTemplate instance.