delete_resource_policy
Revoke all cross-account or resource-based access grants on a key by removing its resource policy. Provide the key ARN to delete the policy.
Instructions
Call this when revoking all cross-account or resource-based access grants on a key.
Remove the resource policy from a key.
Args: resource_arn: Key ARN
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": {
"resource_arn": "<resource_arn>"
},
"name": "delete_resource_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_arn | Yes |