Updated on 2025-12-02 GMT+08:00

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.

Constraints

Tags cannot be added to default 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 on the left and choose Security > Data Encryption Workshop.
  4. Click the alias of the target custom key to view its details.
  5. Click Tags to go to the tag management tab.
  6. Click Add Tag. In the Add Tag dialog box, enter the tag key and tag value.

    If you want to delete a tag from the tag list when adding multiple tags, locate the target tag and click Delete on the right.

    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.
    • The following character types are allowed:
      • 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:
      • English
      • Numbers
      • Space
      • Special characters: _-@

    100

  7. Click OK.