Options (1)
-p, --vhostbooleanSet permissions for a user on a specific virtual host
Example:
rabbitmqctl set_permissions {{[-p|--vhost]}} {{vhost}} {{username}} {{read}} {{write}} {{configure}}Examples (7)
List all users
rabbitmqctl list_usersAdd a new user with a password
rabbitmqctl add_user username passwordDelete an existing user
rabbitmqctl delete_user usernameChange the password for a user
rabbitmqctl change_password username new_passwordSet permissions for a user on a specific virtual host
rabbitmqctl set_permissions [-p|--vhost] vhost username read write configureClear all permissions for a user on a specific virtual host
rabbitmqctl clear_permissions [-p|--vhost] vhost usernameAssign one or more tags (e.g., administrator) to a user
rabbitmqctl set_user_tags username tag1 [tag2]made by @shridhargupta | data from tldr-pages