add new user rabbitmq code example
Example: rabbitmq add user
# Replace us3r and passw0rd
sudo rabbitmqctl add_user us3r passw0rd
# Grant necessary permissions
sudo rabbitmqctl set_permissions -p / us3r “.*” “.*” “.*”
# Verify permissions
sudo rabbitmqctl list_permissions