Object Tag
Overview
Object tags are used to categorize objects. BOS allows users to organize objects in storage by assigning tags.
Tag rules
Object tags consist of key-value pairs. Users can either add tags during the upload process or attach them to existing objects.
- An object can have up to 10 tags, with each key being unique.
- Each key can be up to 128 characters long, and each value can be up to 256 characters long.
- Keys and values are case-sensitive.
- The valid character set for tags includes uppercase and lowercase letters, numbers, spaces, and the following symbols: +‑=._:/
When setting tags via the HTTP Header, if the tags contain special characters, you must URL-encode the keys and values of the tags.
Note
Only the bucket owner and users granted the PutObjectTagging permission have read and write permissions for object tags. You can set tags for an object during simple upload, multipart upload, append upload, and file copy processes, and you can also set tags for an already uploaded object. Changing tag information will not update the Last‑Modified time of the object. BOS only enables object tagging for the Guangzhou cluster. For buckets in other regions, you need to submit a ticket to activate the object tagging function.
