Adding a Tag
Scenario
Tags are used to identify CMKs. You can add tags to CMKs so that you can classify CMKs, trace them, and collect their usage status according to the tags.
KMS does not support adding tags to Default Master Keys.
Prerequisites
You have obtained an account and its password for logging in to the management console.
Procedure
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Choose . The Key Management Service page is displayed.
- Click the alias of the desired CMK to view its details.
- Click Tags to go to the tag management page.
Figure 1 Managing tags
- 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 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 CMKs. However, under the same CMK, one tag key can have only one tag value.
A maximum of 20 tags can be added for one CMK.
- Mandatory.
- Each tag key must be unique under the same CMK.
- Contains a maximum of 36 characters.
- Only digits, letters, underscores (_), and hyphens (-) are allowed.
cost
Tag value
Value of the tag
- This parameter can be empty.
- Can contain a maximum of 43 characters.
- Only digits, letters, underscores (_), and hyphens (-) are allowed.
100
- Click OK to complete.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot