HashiCorp Vault · JSON Structure

Vault Sys Policy Response Structure

PolicyResponse schema from HashiCorp Vault API

Type: object Properties: 1
DevOpsEncryptionOpen SourcePKISecrets ManagementSecurity

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

Properties

data

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-sys-policy-response-structure.json",
  "name": "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\"] }"
        }
      }
    }
  }
}