delete_key
Schedule a cryptographic key for deletion after a waiting period (3-180 days). Use when decommissioning test keys or retiring keys no longer needed, ensuring safe, controlled removal.
Instructions
Call this when decommissioning a test key or retiring a key that is no longer needed. Deletion is scheduled — the key enters DELETE_PENDING state first.
Schedule a key for deletion.
Args: key_identifier: Key ARN or alias delete_key_in_days: Waiting period before deletion (3-180 days, default 7)
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_identifier": "<key_identifier>"
},
"name": "delete_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_identifier | Yes | ||
| delete_key_in_days | No |