Get Scaleway Bucket Policy
scaleway_s3_get_bucket_policyRetrieve the bucket policy JSON for a Scaleway Object Storage bucket. Use this tool to audit or verify access rules; returns an error if no policy is attached.
Instructions
Read the current Bucket Policy JSON attached to an Object Storage bucket. Returns an error if the bucket has no policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name, e.g. 'payments-backups'. | |
| region | No | Region the bucket lives in. Defaults to the server's configured region (fr-par). |