update_alias
Update an alias to reference a new key ARN, enabling key rotation without changing application code.
Instructions
Call this when rotating a key — point the existing alias to the new key ARN so application code referencing the alias picks up the rotation automatically.
Point an alias to a different key (enables key rotation without code changes).
Args: alias_name: Full alias name including 'alias/' prefix key_arn: New key ARN to associate
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alias_name": "<alias_name>",
"key_arn": "<key_arn>"
},
"name": "update_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_arn | Yes | ||
| alias_name | Yes |