Learn R Programming

paws.storage (version 0.1.11)

storagegateway_describe_chap_credentials: Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair

Description

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.

Usage

storagegateway_describe_chap_credentials(TargetARN)

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.

Value

A list with the following syntax:

list(
  ChapCredentials = list(
    list(
      TargetARN = "string",
      SecretToAuthenticateInitiator = "string",
      InitiatorName = "string",
      SecretToAuthenticateTarget = "string"
    )
  )
)

Request syntax

svc$describe_chap_credentials(
  TargetARN = "string"
)

Examples

Run this code
# NOT RUN {
# Returns an array of Challenge-Handshake Authentication Protocol (CHAP)
# credentials information for a specified iSCSI target, one for each
# target-initiator pair.
svc$describe_chap_credentials(
  TargetARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12..."
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab