Use rabbitmqctl to create a RabbitMQ superuser and give correct permissions

rabbitmqctl add_user <username> <password>
rabbitmqctl set_user_tags <username> administrator
rabbitmqctl set_permissions -p / <username> ".*" ".*" ".*"

Please replace placeholders like <username> and <password> with your own data.

This article is originally created by tooli.top. Please indicate the source when reprinting : https://www.tooli.top/posts/rabbitmq_superuser

Posted on 2023-03-07 Mail to author