# Creating Keys

To add a tag with the same tag key to all resources in the search result list, you can use the tag key creation function.

After being created, the tag key is displayed in the list and all default statuses in the key column are No tagged. You can add a tag value to a cloud resource in the list to make the tag take effect.

#### Creating a Key

1. Log in to the management console.
2. Under Management & Deployment, select Tag Management Service.
3. Set the resource search criteria.
4. Click Search.
5. In the search result list, select the target resource and click Create Key in the upper left corner.
6. Specify a key.

   The key can contain a maximum of 36 characters, including only digits, letters, hyphens (-), at signs (@), and underscores (_).

7. Click OK.

   The created tag key is displayed in the tag display column.

   If you create a key but do not bind it to any cloud resource, it will be invalid and will not be displayed in the resource key list after you refresh the page.

#### Follow-up Procedure

To add a tag to a resource when a tag key has been created, perform the following steps:

1. Click Edit in the upper right corner of the search result list.

   The tag list enters the editable state.

2. Locate the row containing the cloud resource whose tag you want to add and click .
3. Enter a tag value.

Parent topic: Resource Tags