Updated on 2023-01-31 GMT+08:00

Adding a Tag

Tags are used to identify secrets. You can easily classify and track secrets using tags.

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. In the navigation pane, choose Cloud Secret Management Service.
  5. Click a secret name to go to the details page.
  6. In the Tags area, click Add Tag. In the Add Tag dialog box, enter the tag key and tag value. Table 1 describes the parameters.

    Figure 1 Add 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.
    • To delete a tag, click Delete next to it.
    Table 1 Tag parameters

    Parameter

    Description

    Remarks

    Tag key

    Tag name.

    The tag keys of a secret cannot have duplicate values. A tag key can be used for multiple secrets.

    A secret can have up to 10 tags.

    • Mandatory.
    • The tag keys of a secret cannot have duplicate values.
    • 36 character limit.
    • The following character types are allowed:
      • Uppercase letters
      • Lowercase letters
      • Numbers
      • Special characters, including hyphens (-) and underscores (_)
      • Chinese characters

    Tag value

    Value of the tag

    • Optional
    • 43 character limit.
    • The following character types are allowed:
      • Uppercase letters
      • Lowercase letters
      • Numbers
      • Special characters, including hyphens (-) and underscores (_)
      • Chinese characters

  7. Click OK.