Interface SecretBackendMetadata

All Known Subinterfaces:
LeasingSecretBackendMetadata
All Known Implementing Classes:
KeyValueSecretBackendMetadata, SecretBackendMetadataSupport, SecretBackendMetadataWrapper

public interface SecretBackendMetadata
Interface specifying the API to obtain URL variables and optionally a PropertyTransformer. Typically used by VaultPropertySource. Supports ordering of implementations.
Author:
Mark Paluch
See Also:
  • PropertyTransformer
  • Ordered
  • Order
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a readable name of this secret backend.
    Return the path of this secret backend.
    org.springframework.vault.core.util.PropertyTransformer
    Return a PropertyTransformer to post-process properties retrieved from Vault.
     
  • Method Details

    • getName

      String getName()
      Return a readable name of this secret backend.
      Returns:
      the name of this secret backend.
    • getPath

      String getPath()
      Return the path of this secret backend.
      Returns:
      the path of this secret backend.
      Since:
      1.1
    • getPropertyTransformer

      org.springframework.vault.core.util.PropertyTransformer getPropertyTransformer()
      Return a PropertyTransformer to post-process properties retrieved from Vault.
      Returns:
      the property transformer.
      See Also:
      • PropertyTransformers
    • getVariables

      Map<String,String> getVariables()
      Returns:
      the URL template variables. URI variables should declare either backend and key or path properties.