Updated on 2026-01-13 GMT+08:00

Listing Buckets

You can list all created buckets to view their information.

Important Notes

Bucket listing requests default to the CN North-Beijing1 region. Therefore, the costs for the ListAllMyBucketsOperation requests are billed to this region.

Constraints

To list all buckets of an account, you must have the obs:bucket:ListAllMyBuckets permission for all buckets. For details, see OBS Custom Policies.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
{
    "Version": "5.0",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "obs:bucket:ListAllMyBuckets"
            ],
            "Resource": [
                "obs:*:*:bucket:*"
            ]
        }
    ]
}

Ways to List Buckets

You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to list buckets.