Skip to content

Instantly share code, notes, and snippets.

Embed
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 ".*" ".*" ".*"
@valugi
Copy link

valugi commented Aug 4, 2017

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

@akhilputhiry
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

@santosgabriel
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 👍

@jmikon7
Copy link

jmikon7 commented Jun 25, 2018

Works fine! Thank you!

@alexsplashex
Copy link

alexsplashex commented Jul 13, 2018

Thanks

@thiagobitencourt
Copy link

thiagobitencourt commented Sep 11, 2018

Works like a charm. Thank you!

@Fhwang0926
Copy link

Fhwang0926 commented Sep 17, 2018

thanks

@jaganysa
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