Updated on 2024-12-19 GMT+08:00

Overview

Scenario

Tags are the identifier of DEW. Adding tag allows you to easily recognize and manage your data encryption resources.

Tags can be added during or after resource creation.

Tag Naming Rules

  • Each tag consists of a key-value pair.
  • You can add at most 20 tags to a DEW resource.
  • For each resource, a tag key must be unique and can have only one tag value.
  • A tag consists of a tag key and a tag value. The naming rules are listed in Table 1.
  • Tags are key-value pairs, which are used to identify, classify, and search for vaults. Vault tags are used to filter and manage vaults only. A vault can have up to 10 tags.

    If you have configured tag policies for DEW, add tags for keys and secrets based on the policies. If the tag does not comply with the policies, keys and secrets may fail to be created. Contact the administrator to learn more about tag policies.

    Table 1 Tag parameters

    Parameter

    Rules

    Example

    Tag key

    • This parameter is 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 value cannot start with _sys_.
    • The following character types are allowed:
      • Chinese
      • English
      • Digits
      • Space
      • Special characters: _.:=+-@

    cost

    Tag value

    • This parameter can be left empty.
    • 255 characters limit.
    • The following character types are allowed:
      • Chinese
      • English
      • Digits
      • Space
      • Special characters: _.:=+-@

    100