java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.vault.secrets.kv2.Kv2Metadata

public class Kv2Metadata extends ApiJsonParser
Metadata of a KV version 2 secret.
  • Method Details

    • createdTime

      public Instant createdTime()
      Created timestamp.
      Returns:
      timestamp
    • deletedTime

      public Optional<Instant> deletedTime()
      Deleted timestamp for deleted secrets.
      Returns:
      timestamp or empty if not deleted
    • version

      public int version()
      Version of the secret.
      Returns:
      version
    • deleted

      public boolean deleted()
      Whether the secret is deleted (can be undeleted).
      Returns:
      true if the secret is deleted, false otherwise
    • destroyed

      public boolean destroyed()
      Whether the secret is destroyed (cannot be undeleted).
      Returns:
      true if the secret is destroyed, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object