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

This comment has been minimized.

Copy link

@valugi valugi commented Aug 4, 2017

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

@akhilputhiry

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

@jmikon7 jmikon7 commented Jun 25, 2018

Works fine! Thank you!

@alexsplashex

This comment has been minimized.

Copy link

@alexsplashex alexsplashex commented Jul 13, 2018

Thanks

@thiagobitencourt

This comment has been minimized.

Copy link

@thiagobitencourt thiagobitencourt commented Sep 11, 2018

Works like a charm. Thank you!

@Fhwang0926

This comment has been minimized.

Copy link

@Fhwang0926 Fhwang0926 commented Sep 17, 2018

thanks

@jaganysa

This comment has been minimized.

Copy link

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