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