All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Configure object tagging

Last updated:2021-10-09 16:09:11

Kingsoft Cloud Standard Storage Service (KS3) allows you to classify the stored objects by using object tagging. Object tagging uses a key-value pair to tag an object. You can add tags when you upload objects or add tags to existing objects.

Note:

Kingsoft Cloud charges you for using object tagging. For more information, see Billing method and measurement description.

Background

Object tagging uses a key-value pair to tag an object. You can manage multiple objects with the same tag. For example, you can configure lifecycle rules for objects with the same tag. For more information, see Object Tagging.

A maximum of 10 tags can be set for each object. Each object tag must have a unique tag key.

Rules of setting a key:

  • A key can contain letters, digits, spaces, and the following special characters: plus signs (+), minus signs (-), equal signs (=), periods (.), underscores (_), colons (:), and forward slashes (/).

  • A key cannot start or end with a space or be left empty. It can be 1 to 128 characters in length and is case-sensitive.

  • Do not start a key with the reserved field of the system, that is, ksc: or kss:.

Rules of setting a value:

  • A value can contain letters, digits, spaces, and the following special characters: plus signs (+), minus signs (-), equal signs (=), periods (.), underscores (_), colons (:), and forward slashes (/).

  • A value cannot start or end with a space. It can be 1 to 256 characters in length and is case-sensitive.

  • Only the bucket owner and authorized users have read and write permissions on object tags.

  • Object tags are also replicated to the destination bucket during cross-region replication.

Procedure

Configure tags for an object:
  1. Log in to the KS3 console.
  2. In the left navigation pane, click Bucket. On the Bucket list page, click the target bucket name.
  3. On the Bucket Details page, click the Content Management tab.
  4. Find the target object and choose More > Tag in the Action column.

image.png

  1. In the Tag dialog box, configure tags for the object.

image.png

  1. Click OK.
Configure tags for multiple objects:
  1. Log in to the KS3 console.
  2. In the left navigation pane, click Bucket. On the Bucket list page, click the target bucket name.
  3. On the Bucket Details page, click the Content Management tab.
  4. Select the target objects and choose Batch operation > Tag.

image.png

Note: When you manage tags in batches, the existing tags of objects will be replaced with new tags. Before you manage tags, make sure that no impact will be made on your business.

  1. In the Tag dialog box, configure tags for the objects.

image.png

  1. Click OK.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback