Rabbitmq user roles

1. Introduction to the roles

(1) The super administrator (administrator)
can log in to the management console (when the management plugin is enabled), view all information, and operate users and policies.
(2) The monitor (monitoring)
can log in to the management console (when the management plugin is enabled), and at the same time can view the relevant information of the rabbitmq node (number of processes, memory usage, disk usage, etc.) (3) Policy maker
( policymaker)
can log in to the management console (when the management plugin is enabled), and can manage the policy at the same time. But you cannot view the relevant information of the node (the part marked by the red box in the figure above).
Compared with the administrator, the administrator can see these contents
(4) Ordinary managers (management)
can only log in to the management console (when the management plugin is enabled), and cannot see node information or manage policies.
(5) Others
Unable to log in to the management console, usually ordinary producers and consumers.

2. User addition

(1) rabbitmqctl add_user username and password

./rabbitmqctl add_user test test

(2) rabbitmqctl set_user_tags username role

.

Guess you like

Origin blog.csdn.net/qq_39598825/article/details/110877365
Recommended