Updated on 2025-01-23 GMT+08:00

Creating a Tag

This section describes how to add tags for existing keys, secrets, and Dedicated HSM instances.

Constraints

Tags cannot be added to default keys.

Key Management

  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. In the navigation on the left, choose > Security & Compliance > 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 page.
  6. Click Add Tag. In the displayed dialog box, set Tag key and Tag value, as shown in Adding a tag.

    Figure 1 Adding a tag

    To delete a tag, click Delete next to it.

    • 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.

  7. Click OK to complete.

CSMS

  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. In the navigation on the left, choose > Security & Compliance > Data Encryption Workshop.
  4. In the navigation pane on the left, choose Cloud Secret Management Service > Secrets.
  5. Click a secret name to go to the details page.
  6. In the Tags area, click Add Tag. In the displayed Add Tag dialog box, enter a Tag key and Tag value.

    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.
    • To delete a tag, click Delete next to it.

  7. Click OK.

Dedicated HSM

  1. Click in the upper left corner of the management console and select a region or project.
  2. Click . Choose Security & Compliance > Data Encryption Workshop.
  3. In the navigation pane, choose Dedicated HSM.
  4. Click Tag Management in the Operation column.
  5. Click Add Tag. On the displayed dialog box, set Tag key and Tag value.

    • 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.

  6. Click OK.