Skip to content

Instantly share code, notes, and snippets.

@sdieunidou
Created October 22, 2015 19:51
Show Gist options
  • Select an option

  • Save sdieunidou/1813409ddfd0185c82c7 to your computer and use it in GitHub Desktop.

Select an option

Save sdieunidou/1813409ddfd0185c82c7 to your computer and use it in GitHub Desktop.
create admin user on rabbitmq
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
@valugi

valugi commented Aug 4, 2017

Copy link
Copy Markdown

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

@akhilputhiry

akhilputhiry commented Nov 16, 2017

Copy link
Copy Markdown

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

rabbitmq-plugins enable rabbitmq_management

@santosgabriel

Copy link
Copy Markdown

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

jmikon7 commented Jun 25, 2018

Copy link
Copy Markdown

Works fine! Thank you!

@alexsplashex

Copy link
Copy Markdown

Thanks

@thiagobitencourt

Copy link
Copy Markdown

Works like a charm. Thank you!

@Fhwang0926

Copy link
Copy Markdown

thanks

@jaganysa

Copy link
Copy Markdown

Thanks its working fine.

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