Skip to content

Describe Chap Credentials

storagegateway_describe_chap_credentials R Documentation

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

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

## End(Not run)