Nav

To Set Environment, User, and Role Access

Anypoint Platform lets you manage the roles of those who administer the MQ features in Anypoint Platform for your organization.

Create an Environment

Before you can give yourself MQ access permissions, you need an environment to associate permissions with.

To create an environment:

  1. Log into Anypoint Platform.

  2. Click Access Management from the left navigation bar or click Access Management from the main Anypoint Platform screen:

    mq-access-mgmt-access

  3. Click Environments from the left Access Management choices, and click Add environment:

    mq-add-env

  4. In the Add Environment screen, provide a name for your environment, and click either Production or Sandbox. You may want to create separate environments for each. A sandbox is used to test applications, whereas production is the public view. For this tutorial, you can choose Production.

    mq-create-env

Give Users MQ Access Permissions

First give yourself MQ access permissions and then give others in your organization access.

Assign User Permissions

Assign user permissions to yourself for use with MQ. These permissions let you create client applications, and destinations by creating queues and exchanges. You can use this same information to assign user permissions for others in your organization.

To assign user permissions:

  1. Log into Anypoint Platform.

  2. From the left navigation bar or the main screen, click Access Management:

    mq-access-mgmt-access

    You can press the Escape key on your keyboard to open or close the left navigation bar in Anypoint Platform.
  3. Click Users.

  4. Click your username value:

    mq-am-users.png

  5. Click MQ and set an environment and permissions. For permissions, you can click Select all to set all permissions, or Select none to erase previously clicked settings:

    mq-acc-mgmt-user-detail

  6. Click the blue plus icon to save your settings:

    mq-blue-plus-circle

    A summary list appears:

    mq-perms-display

    You can use this display to delete permissions if needed.

Create MQ Roles

You can create a role that you can apply to other users in your organization. While you don’t need roles to complete this tutorial, when you use MQ as an administrator or developer, you should create roles for all those in your organization who use MQ.

Creating a role lets you assign access rights to users in your organization, such as for administrators, developers, or for those who only view information but don’t change it.

Create an Admin Role

To assign role permissions:

  1. Log into Anypoint Platform.

  2. Click Access Management in the left navigation bar available from the menu icon in the upper left of the task bar, or by clicking in the main Anypoint Platform screen:

    mq-access-mgmt-access

  3. Click Roles and Add role.

    mq-roles-add-role.png

  4. Name the role Admin Role and click the Add role button.

  5. Click the Role name and click MQ.

  6. Specify the Production Environment, and set all the Permissions by clicking Select All:

    mq-admin-role-detail

  7. Click the blue plus button to save your changes. Anypoint Platform displays your settings.

Add Additional Roles For MQ Access

After you create an admin role, you can optionally create other roles for users in your organization who need Anypoint MQ access in Anypoint Platform.

  1. From the left navigation bar or the main screen, click Access Management.

  2. Click Roles and Add role:

    mq-roles-add-role

  3. Type the role name and description, and click Add role:

    mq-add-role-edit-fields

  4. In the list of roles, click the name of role you just created:

    mq-roles-list

  5. Click MQ and set an environment and permissions. For permissions, you can click Select all to set all permissions, or Select none to erase previously clicked settings:

    mq-acc-mgmt-user-detail

  6. Click the blue plus icon to save your settings:

    mq-blue-plus-circle

    A summary list appears:

    mq-perms-display

    You can use this display to delete permissions if needed, or you can delete the role.

    You can also delete a role from the Roles list page by clicking the checkbox for an entry, and then clicking Delete role.

    mq-delete-role

See Also