Module de.stklcode.jvault.connector
Class SecretMetadata
java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.SecretMetadata
- All Implemented Interfaces:
Serializable
Embedded metadata for Key-Value v2 secrets.
- Since:
- 0.8, 1.1 implements
Serializable
- Author:
- Stefan Kalscheuer
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SecretMetadata
public SecretMetadata()
-
-
Method Details
-
getCreatedTime
- Returns:
- Time of secret creation.
-
getCurrentVersion
- Returns:
- Current version number.
-
getMaxVersions
- Returns:
- Maximum number of versions.
-
getOldestVersion
- Returns:
- Oldest available version number.
-
getUpdatedTime
- Returns:
- Time of secret update.
-
getVersions
- Returns:
- Version of the entry.
-
isCasRequired
- Returns:
- CAS required?
- Since:
- 1.3
-
getCustomMetadata
- Returns:
- Custom metadata.
- Since:
- 1.3
-
getDeleteVersionAfter
- Returns:
- time duration to delete version
- Since:
- 1.3
-
equals
-
hashCode
public int hashCode()
-