RabbitMQ - Set user tags using the rabbitmqctl command

by
Jeremy Canfield |
Updated: December 07 2020
| RabbitMQ articles
The rabbitmqctl command with the set_user_tags option can be used to update a users account to have certain tags. In this example, John Doe's user account is updated with the administrator tag.
rabbitmqctl set_user_tags "john.doe" administrator
Following are the tags can be used.
- administrator
- impersonator
- management
- monitoring
- policymaker
Something like this should be returned.
Setting tags for user "john.doe" to [administrator]
To remove all tags from a users account, you would issue the rabbitmqctl command with the set_user_tags option, followed by the username, and no tag.
rabbitmqctl set_user_tags "john.doe"
Did you find this article helpful?
If so, consider buying me a coffee over at