Class SecretBackendMetadataSupport
java.lang.Object
org.springframework.cloud.vault.config.SecretBackendMetadataSupport
- All Implemented Interfaces:
SecretBackendMetadata
- Direct Known Subclasses:
KeyValueSecretBackendMetadata
Support class for
SecretBackendMetadata implementations. Implementing classes
are required to implement SecretBackendMetadata.getPath() to derive name and variables from the
path.- Since:
- 1.1
- Author:
- Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return a readable name of this secret backend.org.springframework.vault.core.util.PropertyTransformerReturn aPropertyTransformerto post-process properties retrieved from Vault.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SecretBackendMetadata
getPath
-
Constructor Details
-
SecretBackendMetadataSupport
public SecretBackendMetadataSupport()
-
-
Method Details
-
getName
Description copied from interface:SecretBackendMetadataReturn a readable name of this secret backend.- Specified by:
getNamein interfaceSecretBackendMetadata- Returns:
- the name of this secret backend.
-
getPropertyTransformer
public org.springframework.vault.core.util.PropertyTransformer getPropertyTransformer()Description copied from interface:SecretBackendMetadataReturn aPropertyTransformerto post-process properties retrieved from Vault.- Specified by:
getPropertyTransformerin interfaceSecretBackendMetadata- Returns:
- the property transformer.
- See Also:
-
getVariables
- Specified by:
getVariablesin interfaceSecretBackendMetadata- Returns:
- the URL template variables. URI variables should declare either
backendandkeyorpathproperties.
-