Last active
October 13, 2017 03:04
-
-
Save c0mpiler/b176dca46338c5ffb43f7982d42dac1a to your computer and use it in GitHub Desktop.
Create a new RabbitMQ user as 'administrator'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user: c0mpiler | |
#password: testpwd123 | |
rabbitmqctl add_user c0mpiler testpwd123 | |
rabbitmqctl set_user_tags c0mpiler administrator | |
rabbitmqctl set_permissions -p / c0mpiler ".*" ".*" ".*" | |
curl -i -u c0mpiler:testpwd123 http://localhost:15672/api/whoami |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment