Updated on 2022-12-12 GMT+08:00

Adding a Tag

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.

Constraints

Tags cannot be added to default master keys.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click . Choose Security & Compliance > Data Encryption Workshop.
  4. Click the alias of the desired CMK to view its details.
  5. Click Tags to go to the tag management page.
  6. Click Add Tag. In the Add Tag dialog box, enter the tag key and tag value. Table 1 describes the parameters.

    Figure 1 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.
    • 36 characters limit.
    • The following character types are allowed:
      • Uppercase letters
      • Lowercase letters
      • Digits
      • Special characters, including hyphens (-) and underscores (_)

    cost

    Tag value

    Value of the tag

    • This parameter can be empty.
    • 43 characters limit.
    • The following character types are allowed:
      • Uppercase letters
      • Lowercase letters
      • Digits
      • Special characters, including hyphens (-) and underscores (_)

    100

  7. Click OK to complete.