Tags
Tags are a form of metadata that can be applied to specific entities in strongDM. Each Tag is a key and optional value pair.
strongDM entities that support Tags:
Tag Details
- Maximum key length: 128 UTF-8 characters
- Maximum value length: 256 UTF-8 characters
- Maximum 50 tags per entity
- Allowed characters: letters, numbers, and spaces representable in UTF-8, and the following characters:
+ - = . _ : / @
- Case-sensitive:
team=strongDM
is different fromteam=strongdm
- An entity can only have one value of a key at a time (If you have two tags
env=prod
andenv=dev
you can only assign one of them to a resource).
Tag Management
This article primarily focuses on Tag management through the CLI, but you can refer to the API docs for more info about managing tags via the API, and you can manually add and remove tags to and from resources in the Admin UI as well.
Chaining Commands
You can also combine these operations. For example, to delete all Tags and replace them with new tags:
sdm admin users update --email alice.glick@strongdm.com --delete-all-tags --tags 'a=1,b=2'