get_resource_policy
Retrieve the resource policy attached to a key ARN to audit access. Inspect cross-account policies to see permissions for the key.
Instructions
Call this when auditing who has access to a key or inspecting a cross-account policy.
Retrieve the resource policy attached to 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": "get_resource_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_arn | Yes |