amazonka-storagegateway-0.1.0: Amazon Storage Gateway SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.UpdateChapCredentials

Contents

Description

This operation 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.

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

http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_UpdateChapCredentials.html

Synopsis

Request

Request constructor

Request lenses

uccInitiatorName :: Lens' UpdateChapCredentials Text Source

The iSCSI initiator that connects to the target.

uccSecretToAuthenticateInitiator :: Lens' UpdateChapCredentials Text Source

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

uccSecretToAuthenticateTarget :: Lens' UpdateChapCredentials (Maybe Text) Source

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

uccTargetARN :: Lens' UpdateChapCredentials Text Source

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

Response

Response constructor

Response lenses

uccrInitiatorName :: Lens' UpdateChapCredentialsResponse (Maybe Text) Source

The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

uccrTargetARN :: Lens' UpdateChapCredentialsResponse (Maybe Text) Source

The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.