Created
March 7, 2019 16:53
-
-
Save victorpendleton/f6f14eb6f96c9808fb94be68fb929fcd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.rabbitmq.com/rabbitmqctl.8.html | |
# Create virtual host | |
sudo rabbitmqctl add_vhost host_name | |
# Create user | |
sudo rabbitmqctl add_user user password | |
# Set tags for user | |
sudo rabbitmqctl set_user_tags user [administrator|management] | |
# Set user permissions | |
# set_permissions -p virtual_host user configure_perms write_perms read_perms | |
sudo rabbitmqctl set_permissions -p vhost user ".*" ".*" ".*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment