v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1490380385.5 KB

Sets the password for your VM local console. When you log in to the local console for the first time, you log in to the VM with the default credentials. We recommend that you set a new password. You don't need to know the default password to set a new password.

post/#X-Amz-Target=StorageGateway_20130630.SetLocalConsolePassword

Headers

X-Amz-Target'StorageGateway_20130630.SetLocalConsolePassword' required

Request body

GatewayARNstring required

The Amazon Resource Name (ARN) of the gateway. Use the <a>ListGateways</a> operation to return a list of gateways for your account and Amazon Web Services Region.

LocalConsolePasswordstring password required

The password you want to set for your VM local console.

Response

Success

GatewayARNstring

The Amazon Resource Name (ARN) of the gateway. Use the <a>ListGateways</a> operation to return a list of gateways for your account and Amazon Web Services Region.

Example response

{
  "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
}