java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.SecretMetadata

public final class SecretMetadata extends Object
Embedded metadata for Key-Value v2 secrets.
Since:
0.8
Author:
Stefan Kalscheuer
  • Constructor Details

    • SecretMetadata

      public SecretMetadata()
  • Method Details

    • getCreatedTimeString

      public String getCreatedTimeString()
      Returns:
      Time of secret creation as raw string representation.
    • getCreatedTime

      public ZonedDateTime getCreatedTime()
      Returns:
      Time of secret creation.
    • getCurrentVersion

      public Integer getCurrentVersion()
      Returns:
      Current version number.
    • getMaxVersions

      public Integer getMaxVersions()
      Returns:
      Maximum number of versions.
    • getOldestVersion

      public Integer getOldestVersion()
      Returns:
      Oldest available version number.
    • getUpdatedTimeString

      public String getUpdatedTimeString()
      Returns:
      Time of secret update as raw string representation.
    • getUpdatedTime

      public ZonedDateTime getUpdatedTime()
      Returns:
      Time of secret update..
    • getVersions

      public Map<Integer,VersionMetadata> getVersions()
      Returns:
      Version of the entry.