{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-storage-gateway/refs/heads/main/json-structure/amazon-storage-gateway-chap-info-structure.json",
  "name": "ChapInfo",
  "description": "Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.",
  "properties": {
    "TargetARN": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TargetARN"
        },
        {
          "description": "<p>The Amazon Resource Name (ARN) of the volume.</p> <p>Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).</p>"
        }
      ]
    },
    "SecretToAuthenticateInitiator": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ChapSecret"
        },
        {
          "description": "The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target."
        }
      ]
    },
    "InitiatorName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IqnName"
        },
        {
          "description": "The iSCSI initiator that connects to the target."
        }
      ]
    },
    "SecretToAuthenticateTarget": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ChapSecret"
        },
        {
          "description": "The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows client)."
        }
      ]
    }
  }
}