{
  "name": "DescribeSecret",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudSecrets.DescribeSecret",
    "service": "secrets"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "secretId": {
        "type": "string"
      }
    },
    "required": [
      "secretId"
    ],
    "title": "DescribeSecretRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "IgnoredField": {
        "properties": {
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "path": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "status": {
            "$ref": "#/definitions/IgnoredStatus"
          }
        },
        "required": [
          "path",
          "reason",
          "status"
        ],
        "type": "object"
      },
      "IgnoredStatus": {
        "enum": [
          "ignored",
          "approximated",
          "coerced"
        ],
        "type": "string"
      }
    },
    "properties": {
      "arn": {
        "type": "string"
      },
      "ignoredFields": {
        "items": {
          "$ref": "#/definitions/IgnoredField"
        },
        "type": "array"
      },
      "name": {
        "type": "string"
      },
      "secretBinary": {
        "type": [
          "string",
          "null"
        ]
      },
      "secretString": {
        "type": [
          "string",
          "null"
        ]
      },
      "versionId": {
        "type": [
          "string",
          "null"
        ]
      },
      "versionStages": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "arn",
      "name"
    ],
    "title": "SecretResponse",
    "type": "object"
  }
}
