AWS SDK for .NET Documentation
UpdateChapCredentialsRequest Class
AmazonAmazon.StorageGateway.ModelUpdateChapCredentialsRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the UpdateChapCredentials operation.

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.

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

Declaration Syntax
C#
public class UpdateChapCredentialsRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
UpdateChapCredentialsRequest()()()()
Initializes a new instance of the UpdateChapCredentialsRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InitiatorName
The iSCSI initiator that connects to the target.

Constraints:

Length
1 - 255
Pattern
[0-9a-z:.-]+


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

Constraints:

Length
12 - 16


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

Constraints:

Length
12 - 16


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

Constraints:

Length
50 - 800


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInitiatorName(String) Obsolete.
Sets the InitiatorName property

WithSecretToAuthenticateInitiator(String) Obsolete.
Sets the SecretToAuthenticateInitiator property

WithSecretToAuthenticateTarget(String) Obsolete.
Sets the SecretToAuthenticateTarget property

WithTargetARN(String) Obsolete.
Sets the TargetARN property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 UpdateChapCredentialsRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)