bucket_policy_set
Replace a bucket's access policy with a validated JSON policy, ensuring principal IDs use Wasabi accounts and requiring explicit confirmation before applying changes.
Instructions
Replace a bucket's policy with policy (a dict or JSON string, validated first). Account and canonical IDs in principals must be Wasabi's, not AWS's. Needs confirm=true.
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": {
"bucket": "<bucket>",
"policy": "<policy>"
},
"name": "bucket_policy_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| policy | Yes | ||
| region | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||