

# Add tags to a keyspace
<a name="Tagging.Operations.existing.keyspace"></a>

The following examples show how to add tags to a keyspace in Amazon Keyspaces.

------
#### [ Console ]

**Add a tag to an existing keyspace using the console**

1. Sign in to the AWS Management Console, and open the Amazon Keyspaces console at [https://console.aws.amazon.com/keyspaces/home](https://console.aws.amazon.com/keyspaces/home).

1. In the navigation pane, choose **Keyspaces**.

1. Choose a keyspace from the list. Then choose the **Tags** tab where you can view the tags of the keyspace.

1. Choose **Manage tags** to add, edit, or delete tags.

1. Choose **Save changes**.

------
#### [ Cassandra Query Language (CQL) ]

**Add a tag to an existing keyspace using CQL**
+ 

  ```
  ALTER KEYSPACE mykeyspace ADD TAGS {'key1':'val1', 'key2':'val2'};
  ```

------
#### [ CLI ]

**Add a tag to an existing keyspace using the AWS CLI**
+ The following example shows how to add new tags to an existing keyspace.

  ```
  aws keyspaces tag-resource --resource-arn 'arn:aws:cassandra:us-east-1:111122223333:/keyspace/myKeyspace/' --tags 'key=key3,value=val3' 'key=key4,value=val4'
  ```

------