Skip to content

Delete Chap Credentials

storagegateway_delete_chap_credentials R Documentation

Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair

Description

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.

Usage

storagegateway_delete_chap_credentials(TargetARN, InitiatorName)

Arguments

TargetARN

[required] The Amazon Resource Name (ARN) of the iSCSI volume target. Use the describe_storedi_scsi_volumes operation to return to retrieve the TargetARN for specified VolumeARN.

InitiatorName

[required] The iSCSI initiator that connects to the target.

Value

A list with the following syntax:

list(
  TargetARN = "string",
  InitiatorName = "string"
)

Request syntax

svc$delete_chap_credentials(
  TargetARN = "string",
  InitiatorName = "string"
)

Examples

## 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-12..."
)

## End(Not run)