tencent cloud

Querying Bucket
Last updated: 2025-11-28 18:05:40
Querying Bucket
Last updated: 2025-11-28 18:05:40

Overview

You can quickly query the created buckets by bucket name and tag in the COS console.
Note:
Before you can access the bucket list with a sub-account, the sub-account must be authorized by the root account. For more information, see Accessing Bucket List Using Sub-Account.
As the List Bucket operation is not restricted by bucket permission, a sub-account cannot be restricted to querying just specified buckets.

Usage

Using the COS Console

1. Log in to the COS console and click Bucket List on the left sidebar to enter the bucket list page, where you can view all the created buckets.
2. If there are many buckets, you can search for buckets by bucket name or tag in the top-right corner of the Bucket List page.
Query by bucket name: You can enter a specific bucket name or a bucket name prefix to query buckets.


Query by tag: If you have set tags for a bucket as instructed in Setting Bucket Tags, you can also select Tag in the top-right corner of the Bucket List page and enter a tag key to query buckets.



Using REST API/SDK

You can directly use the REST API to trigger a bucket query request. For details, see GET Service (List Buckets) API document.
You can directly call the SDK to create a bucket. For details, see the following SDK documentation for different languages:

Using Tools

You can use tools to query buckets, such as COSBrowser, COSCLI. For more tool introduction, please see Tool Overview.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback