Rotate a domain's token signing key
rotate_domain_signing_keyRotate a domain's token-signing key to replace a compromised key while old tokens remain valid until expiry; then revoke client tokens. Requires confirm=true.
Instructions
Creates a new key for signing the domain's tokens. The previous key keeps verifying until the tokens it signed expire, so nothing valid is cut off. For a key believed stolen: rotate, then revoke each client's tokens. Requires confirm=true.
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": {
"domainId": "<domainId>"
},
"name": "rotate_domain_signing_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to act. Omit/false returns a preview only. | |
| domainId | Yes | The domain's id — from list_domains. |