HashiCorp Vault · JSON Structure

Vault Kv Kv Config Request Structure

KvConfigRequest schema from HashiCorp Vault API

Type: object Properties: 3
DevOpsEncryptionOpen SourcePKISecrets ManagementSecurity

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

Properties

max_versions cas_required delete_version_after

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-kv-config-request-structure.json",
  "name": "KvConfigRequest",
  "description": "KvConfigRequest schema from HashiCorp Vault API",
  "type": "object",
  "properties": {
    "max_versions": {
      "type": "int32",
      "minimum": 0,
      "description": "Maximum number of versions to keep per secret. Older versions are automatically deleted when this limit is exceeded. Set to 0 for unlimited versions.",
      "example": 10
    },
    "cas_required": {
      "type": "boolean",
      "description": "When true, all write operations require check-and-set (CAS) parameter to prevent accidental overwrites.",
      "example": false
    },
    "delete_version_after": {
      "type": "string",
      "description": "Duration after which a secret version is automatically soft-deleted. Defaults to \"0s\" (never). Format is a Go duration string.",
      "example": "0s"
    }
  }
}