SecretDataRequest is a JSON Structure definition published by HashiCorp Vault, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/vault/refs/heads/main/json-structure/vault-kv-secret-data-request-structure.json",
"name": "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": "int32",
"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"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.