Class SecretMetadata


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

      • SecretMetadata

        public SecretMetadata()
    • Method Detail

      • 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..