Updated on 2024-03-27 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 a secret name to go to the details page.
  3. 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.

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

    • Mandatory.
    • The tag key must be unique for the same custom key.
    • characters limit.
    • The value cannot start or end with a space.
    • The following character types are allowed:
      • Chinese
      • English
      • Numbers
      • Space
      • Special characters: _-@

    Tag value

    Value of the tag

    • Optional
    • characters limit.
    • The following character types are allowed:
      • Chinese
      • English
      • Numbers
      • Space
      • Special characters: _-@

  4. Click OK.