
Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair. This operation is supported in volume and tape gateway types.
storagegateway_delete_chap_credentials(TargetARN, InitiatorName)
[required] The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
[required] The iSCSI initiator that connects to the target.
svc$delete_chap_credentials( TargetARN = "string", InitiatorName = "string" )
# NOT RUN {
# Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials
# for a specified iSCSI target and initiator pair.
svc$delete_chap_credentials(
InitiatorName = "iqn.1991-05.com.microsoft:computername.domain.example.com",
TargetARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn..."
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab