Destroy a key
crypto_key_destroyDestroy a cryptographic key by overwriting its secret bytes where the runtime allows and invalidating its handle, preventing further use of the key.
Instructions
Destroy a key: overwrite its secret bytes where the runtime allows and invalidate its handle.
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": {
"keyHandle": "<keyHandle>"
},
"name": "crypto_key_destroy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyHandle | Yes | Handle of the key to destroy. Key handles look like 'kh_' followed by 32 hex characters. |