yaaif_api_key_rotate
Rotate an API key while preserving the credential ID and bindings. Get the new plaintext key once; the previous key remains valid for a short grace period.
Instructions
Rotate an API key. Keeps the same Credentials credential_id (bindings stay valid). Plaintext returned once; previous hash remains valid for a short grace window.
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": {
"key_id": "<key_id>"
},
"name": "yaaif_api_key_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes |