Compose Database-as-a-Service Help and Documentation

Everything you need to know about Compose, Hosted or Enterprise, is here in our help system. Whether you run one database for your businesses' sole application or six different databases to support an entire corporation, we've got the information you need.

Data Browser for RabbitMQ

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.

Overview

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.

Vhosts view

The initial browser view is a list of currently configured vhosts.

List of vhosts in the browser.

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 add_vhost.

Adding a vhost.

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 view

📘

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.

User list with permissions in the browser.

Clicking Remove user deletes the user from all vhosts.

Adding users

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.

Running add_user in the browser.

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.

Setting User Permissions

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.

Running set_permissions in the browser.

After setting permissions, the Users view is displayed.


Still Need Help?

If this article didn't solve things, summon a human and get some help.

Updated about a year ago

Data Browser for RabbitMQ


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.