{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/vault/refs/heads/main/json-schema/vault-kv-kv-config-request-schema.json", "title": "KvConfigRequest", "description": "KvConfigRequest schema from HashiCorp Vault API", "type": "object", "properties": { "max_versions": { "type": "integer", "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" } } }