storagegateway_update_chap_credentials: Updates the Challenge-Handshake Authentication Protocol...

Description Usage Arguments Value Request syntax Examples

View source: R/storagegateway_operations.R

Description

Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it. This operation is supported in the volume and tape gateway types.

When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.

Usage

1
2
3
storagegateway_update_chap_credentials(TargetARN,
  SecretToAuthenticateInitiator, InitiatorName,
  SecretToAuthenticateTarget)

Arguments

TargetARN

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

SecretToAuthenticateInitiator

[required] The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.

The secret key must be between 12 and 16 bytes when encoded in UTF-8.

InitiatorName

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

SecretToAuthenticateTarget

The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

Byte constraints: Minimum bytes of 12. Maximum bytes of 16.

The secret key must be between 12 and 16 bytes when encoded in UTF-8.

Value

A list with the following syntax:

1
2
3
4
list(
  TargetARN = "string",
  InitiatorName = "string"
)

Request syntax

1
2
3
4
5
6
svc$update_chap_credentials(
  TargetARN = "string",
  SecretToAuthenticateInitiator = "string",
  InitiatorName = "string",
  SecretToAuthenticateTarget = "string"
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# Updates the Challenge-Handshake Authentication Protocol (CHAP)
# credentials for a specified iSCSI target.
svc$update_chap_credentials(
  InitiatorName = "iqn.1991-05.com.microsoft:computername.domain.example.com",
  SecretToAuthenticateInitiator = "111111111111",
  SecretToAuthenticateTarget = "222222222222",
  TargetARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12..."
)

## End(Not run)

paws.storage documentation built on March 7, 2021, 5:07 p.m.