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# |
UpdateChapCredentialsResponse UpdateChapCredentials( UpdateChapCredentialsRequest updateChapCredentialsRequest )
Parameters
- updateChapCredentialsRequest (UpdateChapCredentialsRequest)
- Container for the necessary parameters to execute the UpdateChapCredentials service method on AmazonStorageGateway.
Return Value
The response from the UpdateChapCredentials service method, as returned by AmazonStorageGateway.
Exceptions
Exception | Condition |
---|---|
InternalServerErrorException | |
InvalidGatewayRequestException |