Updated on 2024-05-15 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. Click . 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. On the displayed dialog box, set Tag key and Tag value.

    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. 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. Click Add Tag. On the displayed dialog box, set 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. In the Operation column of an instance, click Manage Tag. The Manage Tag page is displayed, as shown in Figure 3.

    Figure 3 Manage Tag

  5. Click Add Tag. On the displayed dialog box, set Tag key and Tag value.

    Figure 4 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.

  6. Click OK.