This seems like a question that should be easily be googleable. It is not though. Can anybody help?
How do I create a new user for rabbitmq?
Note: The default administrator username and password are guest and guest. In the RabbitMQ Management page: On the navigation toolbar at the top, click Admin.
In order for a client to interact with RabbitMQ it must first open a connection. This process involves a number of steps: Application configures the client library it uses to use a certain connection endpoint (e.g. hostname and port) The library resolves the hostname to one or more IP addresses.
The internal RabbitMQ users can be managed from the command-line using the rabbitmqctl command. Note, that the users from any alternative authentication backends (e.g. LDAP) cannot be inspected or managed with the commands listed below.
I have found this very useful
rabbitmqctl add_user username password
rabbitmqctl set_user_tags username administrator
rabbitmqctl set_permissions -p / username ".*" ".*" ".*"
See more here https://www.rabbitmq.com/rabbitmqctl.8.html#User_Management
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With