HashiCorp Vault · JSON Structure

Vault Kv Secret Version Metadata Structure

SecretVersionMetadata schema from HashiCorp Vault API

Type: object Properties: 4
DevOpsEncryptionOpen SourcePKISecrets ManagementSecurity

SecretVersionMetadata is a JSON Structure definition published by HashiCorp Vault, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

created_time deletion_time destroyed version

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vault/refs/heads/main/json-structure/vault-kv-secret-version-metadata-structure.json",
  "name": "SecretVersionMetadata",
  "description": "SecretVersionMetadata schema from HashiCorp Vault API",
  "type": "object",
  "properties": {
    "created_time": {
      "type": "datetime",
      "description": "Time when this secret version was created.",
      "example": "2025-03-15T14:30:00Z"
    },
    "deletion_time": {
      "type": "string",
      "description": "Time when this version was or will be deleted. Empty string if not scheduled for deletion.",
      "example": ""
    },
    "destroyed": {
      "type": "boolean",
      "description": "Whether this version has been permanently destroyed.",
      "example": false
    },
    "version": {
      "type": "int32",
      "description": "The version number of this secret.",
      "example": 1
    }
  }
}