Updated on 2023-04-26 GMT+08:00

Configuring Tags for a Bucket

You can add tags to a bucket when creating the bucket. For details, see Creating a Bucket. Also you can add tags to a bucket after it has been created. This topic describes how to add tags to a bucket after it has been created.


  1. In the navigation pane of OBS Console, choose Object Storage.
  2. In the bucket list, click the bucket name you want. The Objects page is displayed.
  3. In the navigation pane, choose Overview.
  4. In the right Basic Configurations area, click Tags. The Tags page is displayed.

    Alternatively, you can choose Basic Configurations > Tagging in the navigation pane.

  5. Click Add Tag. The Add Tag dialog box is displayed. See Figure 1 for details.

    Figure 1 Add Tag

  6. Set the key and value based on Table 1.

    Table 1 Parameter description




    Key of a tag. Tag keys for the same bucket must be unique. You can customize tags or select the ones predefined on TMS.

    A tag key:

    • Must contain 1 to 36 characters.
    • Cannot start or end with a space or contain the following characters: =*<>\,|/


    Value of a tag. A tag value can be repetitive or left blank.

    A tag value:

    • Must range from 0 to 43 characters.
    • Cannot contain the following characters: =*<>\,|/

  7. Click OK.

    It takes approximately 3 minutes for the tag to take effect.

Related Operations

In the tag list, click Edit to change the tag value or click Delete to remove the tag.