{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/vault/refs/heads/main/json-schema/vault-kv-secret-data-request-schema.json",
"title": "SecretDataRequest",
"description": "SecretDataRequest schema from HashiCorp Vault API",
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Key-value pairs to store as the secret. Values can be strings, numbers, or nested objects.",
"additionalProperties": true
},
"options": {
"type": "object",
"properties": {
"cas": {
"type": "integer",
"description": "Check-and-set value. If set, the write will only succeed if the current version matches this value. Set to 0 to write only if the key does not exist."
}
}
}
},
"required": [
"data"
]
}