For a high-level view of why data browsers are available on Compose, and a full list of deployment types they are available on: Compose Deployments - Data Browsers.
The data browser for RabbitMQ provides a command-oriented interface for a number of RabbitMQ commands. The available commands allow you to perform vhost and user management.
The RabbitMQ Management Plugin is available via link on the main deployment page under Admin UI.
The initial browser view is a list of currently configured vhosts.
Selecting the name of a vhost takes you to the Users view for that vhost.
To add new vhosts click Add vhost. This brings up the command
Fill in the name field with the new vhost name and click the Run button. You will then be taken to the Users view for the newly created vhost.
Users are global in RabbitMQ
The RabbitMQ installation has a global set of users. Each vhost has its own permissions for each user.
The Users view for a vhost shows all the users and their current permissions on the vhost. Click a user's name to configure that users permissions on the current vhost.
Clicking Remove user deletes the user from all vhosts.
You can add new users by clicking on the Add User button in the Users view. A command-line with the command
add_user is displayed with fields available to set the username and password for the new user.
To create a user, enter a username and password and click Run. As this command runs within a vhost, the browser assumes that you want to set the permissions for that user in this vhost, so it switches to the User Permissions view.
The User Permissions view is displayed when you select an existing user or create a new user. This view wraps the RabbitMQ command
set_permissions. In the Compose RabbitMQ data browser, the command is already formatted to set the named user's permissions on the named vhost. All that is required is to set the permissions values for configure, write and read operations.
For example, to set up a user with access to everything in the vhost, enter
.* into all three fields and click Run.
After setting permissions, the Users view is displayed.
If this article didn't solve things, summon a human and get some help.
Updated about a year ago