Class WrappedMetadata
java.lang.Object
org.springframework.vault.support.WrappedMetadata
Value object representing wrapped secret metadata.
- Since:
- 2.1
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedMetadata(VaultToken token, Duration ttl, Instant creationTime, @Nullable String path) Create a newWrappedMetadata. -
Method Summary
Modifier and TypeMethodDescriptionstatic WrappedMetadatafrom(Map<String, ?> wrapInfo, VaultToken token) static WrappedMetadatafrom(VaultResponseSupport<? extends Map<String, Object>> response) @Nullable StringgetPath()getToken()getTtl()
-
Constructor Details
-
WrappedMetadata
Create a newWrappedMetadata.- Parameters:
token- must not be null.ttl- must not be null.creationTime- must not be null.path- can be null.
-
-
Method Details
-
from
-
from
-
getToken
-
getTtl
-
getCreationTime
-
getPath
-