Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
create admin user on rabbitmq
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
Copy link

valugi commented Aug 4, 2017

test using:
curl -i -u test:test http://localhost:15672/api/whoami

Copy link

akhilputhiry commented Nov 16, 2017

for the above one to work we need to enable the management plugin I guess

rabbitmq-plugins enable rabbitmq_management

Copy link

santosgabriel commented May 3, 2018

Works fine the solution of adding the user with rabbitmqctl command, specially when you don't have access to a decent browser to acess the rabbitmq_management's web page 👍

Copy link

jmikon7 commented Jun 25, 2018

Works fine! Thank you!

Copy link

alexsplashex commented Jul 13, 2018


Copy link

thiagobitencourt commented Sep 11, 2018

Works like a charm. Thank you!

Copy link

Fhwang0926 commented Sep 17, 2018


Copy link

jaganysa commented Jun 11, 2019

Thanks its working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment