v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1490380385.5 KB

Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair. This operation is supported in the volume and tape gateway types.

post/#X-Amz-Target=StorageGateway_20130630.DescribeChapCredentials

Headers

X-Amz-Target'StorageGateway_20130630.DescribeChapCredentials' required

Request body

TargetARNstring required

The Amazon Resource Name (ARN) of the iSCSI volume target. Use the <a>DescribeStorediSCSIVolumes</a> operation to return to retrieve the TargetARN for specified VolumeARN.

Response

Success

Example response

{
  "ChapCredentials": [
    {
      "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com",
      "SecretToAuthenticateInitiator": "111111111111",
      "SecretToAuthenticateTarget": "222222222222",
      "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
    }
  ]
}