Creating and managing ActiveMQ broker users
An ActiveMQ user is a person or an application that can access the queues and topics of an ActiveMQ broker.
You can configure users to have specific permissions. For example, you can allow some users to access the ActiveMQ Web Console
A group is a semantic label. You can assign a group to a user and configure permissions for groups to send to, receive from, and administer specific queues and topics.
Note
You can't configure groups independently of users. A group label is created when you add at least one user to it and deleted when you remove all users from it.
The following examples show how you can create, edit, and delete Amazon MQ broker users using the Amazon Web Services Management Console.
To create a new user
Sign in to the Amazon MQ console
. From the broker list, choose the name of your broker (for example, MyBroker) and then choose View details.
On the
MyBroker
page, in the Users section, all the users for this broker are listed.-
Choose Create user.
-
In the Create user dialog box, type a Username and Password.
-
(Optional) Type the names of groups to which the user belongs, separated by commas (for example:
Devs, Admins
). -
(Optional) To enable the user to access the ActiveMQ Web Console
, choose ActiveMQ Web Console. -
Choose Create user.
Important
Making changes to a user does not apply the changes to the user immediately. To apply your changes, you must wait for the next maintenance window or reboot the broker. For more information, see Amazon MQ broker configuration lifecycle.
To edit an existing user
Sign in to the Amazon MQ console
. From the broker list, choose the name of your broker (for example, MyBroker) and then choose View details.
On the
MyBroker
page, in the Users section, all the users for this broker are listed.-
Select your sign-in credentials and choose Edit.
The Edit user dialog box is displayed.
-
(Optional) Type a new Password.
-
(Optional) Add or remove the names of groups to which the user belongs, separated by commas (for example:
Managers, Admins
). -
(Optional) To enable the user to access the ActiveMQ Web Console
, choose ActiveMQ Web Console. -
To save the changes to the user, choose Done.
Important
Making changes to a user does not apply the changes to the user immediately. To apply your changes, you must wait for the next maintenance window or reboot the broker. For more information, see Amazon MQ broker configuration lifecycle.
To delete an existing user
Sign in to the Amazon MQ console
. From the broker list, choose the name of your broker (for example, MyBroker) and then choose View details.
On the
MyBroker
page, in the Users section, all the users for this broker are listed.-
Select a your sign-in credentials (for example,
MyUser
) and then choose Delete. -
To confirm deleting the user, in the Delete
MyUser
? dialog box, choose Delete.Important
Making changes to a user does not apply the changes to the user immediately. To apply your changes, you must wait for the next maintenance window or reboot the broker. For more information, see Amazon MQ broker configuration lifecycle.