HashiCorp Vault · Schema

PolicyResponse

PolicyResponse schema from HashiCorp Vault API

DevOpsEncryptionOpen SourcePKISecrets ManagementSecurity

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

vault-sys-policy-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vault/refs/heads/main/json-schema/vault-sys-policy-response-schema.json",
  "title": "PolicyResponse",
  "description": "PolicyResponse schema from HashiCorp Vault API",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Policy name.",
          "example": "dev-policy"
        },
        "policy": {
          "type": "string",
          "description": "HCL policy document.",
          "example": "path \"secret/*\" { capabilities = [\"read\"] }"
        }
      }
    }
  }
}