describeChapCredentials

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.

Samples


fun main() { 
   //sampleStart 
   // Returns an array of Challenge Handshake Authentication Protocol (CHAP) credentials information for a
// specified iSCSI target, one for each target initiator pair.
val resp = storageGatewayClient.describeChapCredentials {
    targetArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
} 
   //sampleEnd
}