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:
-
PropertyTransformerOrderedOrder
-
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 aPropertyTransformerto post-process properties retrieved from Vault.- Returns:
- the property transformer.
- See Also:
-
PropertyTransformers
-
getVariables
- Returns:
- the URL template variables. URI variables should declare either
backendandkeyorpathproperties.
-