Bootstrap FreeKB - RabbitMQ - List users and tags using the rabbitmqctl command
RabbitMQ - List users and tags using the rabbitmqctl command

Updated:   |  RabbitMQ articles

The rabbitmqctl command with the list_users option can be used to list the user accounts.

rabbitmqctl list_users

 

Something like this should be returned. In this example, jane.doe has not been assigned any tags.

admin    [administrator]
john.doe [management]
jane.doe []

 

The --formatter json option can be used to return the output in JSON.

rabbitmqctl list_users --formatter json

 

The rabbitmqctl set_user_tags command can be used to update a users account to have a certain tag.

rabbitmqctl set_user_tags "jane.doe" management



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 4d0dfd in the box below so that we can be sure you are a human.