Adding a Tag
Tags are used to identify keys. You can add tags to custom keys so that you can classify custom keys, trace them, and collect their usage status according to the tags.
You can add tags by department or user role. For example: Department: O&M department. See Figure 1 for details.
Constraints
Tags cannot be added to default keys.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project. - Click
. Choose . - Click the alias of the desired custom key to view its details.
To add a tag for a KMS, click the KMS name. On the KMS details page that is displayed, click Add Tag.
- Click Tags to go to the tag management page.
- Click Add Tag. In the Add Tag dialog box, enter the tag key and tag value. Table 1 describes the parameters.
Figure 2 Adding a tag
- If you want to use the same tag to identify multiple cloud resources, you can create predefined tags in the TMS. In this way, the same tag can be selected for all services. For more information about predefined tags, see the Tag Management Service User Guide.
- If you want to delete a tag to be added when adding multiple tags, you can click Delete in the row where the tag to be added is located to delete the tag.
Table 1 Tag parameters Parameter
Description
Value
Example Value
Tag key
Name of a tag.
The same tag (including tag key and tag value) can be used for different custom keys. However, under the same custom key, one tag key can have only one tag value.
A maximum of 20 tags can be added for one custom key.
- Mandatory.
- The tag key must be unique for the same custom key.
- 128 characters limit.
- The value cannot start or end with a space.
- Cannot start with _sys_.
- The following character types are allowed:
- Chinese
- English
- Numbers
- Space
- Special characters: _.:/=+-@
cost
Tag value
Value of the tag
- This parameter can be empty.
- 255 characters limit.
- The following character types are allowed:
- Chinese
- English
- Numbers
- Space
- Special characters: _.:/=+-@
100
- Click OK to complete.
Last Article: Managing Tags
Next Article: Searching for a Custom Key by Tag

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.