Updated on 2024-11-26 GMT+08:00

Creating a Custom Bucket Policy (JSON View)

If you are familiar with the JSON syntax and OBS bucket policies, you can code a bucket policy in the JSON view. There is no limit on the number of bucket policies (statements) for a bucket, but the JSON descriptions of all bucket policies in a bucket cannot exceed 20 KB in total.

Ways to Create a Custom Bucket Policy

You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to create a custom bucket policy.