Contact Free trial Login

Configure Environment, User, and Role Access

Anypoint Platform enables you to manage the roles of users who administer the Anypoint MQ features in Anypoint Platform for your organization.

Create an Environment

Before you give yourself Anypoint MQ access permissions, create an environment with which to associate permissions:

  1. From Anypoint Platform, select Access Management

  2. Click Environments in the left menu, and click the Add environment button.

  3. In the Add environment box, provide a name for your environment and click either Production, Sandbox, or Design. You might want to create separate environments for each. In this case, choose Production.

Give Users Anypoint MQ Access Permissions

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

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

To assign user permissions:

  1. From Anypoint Platform, click Access Management.

  2. Click Users in the left menu.

  3. Click a user name.

  4. Click MQ and set an environment and permissions:

    *MQ* tab
    Figure 1. The screenshot shows the MQ tab, the blue plus icon, and the delete icon used for adding permissions to and deleting permissions from an environment.
  5. Click and select an item from the Permissions menu:

    You can click Select all to set all permissions, or Select none to erase previously clicked settings.

  6. Click the blue plus icon (+) to add the selection.

    The selected environment and permissions appear below the drop-down list.

    You can delete items from this list by clicking the delete icon.

Create an Admin Role

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

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

  1. From Anypoint Platform, click Access Management.

  2. Click Roles in the left menu, and then click the Add Role button.

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

  4. Click Admin Role and click the MQ tab.

  5. From the Environment menu, select Production.

  6. From the Permissions menu, select Select all.

  7. Click the blue plus icon (+) to add the selections.

    Anypoint Platform displays your settings.

The settings are:

  • Clear destinations

    Same privileges as View destinations, plus permission to purge messages

  • Manage clients

    Same privileges as View clients, plus permission to create client apps

  • Manage destinations

    Same privileges as View destinations and Clear destinations, plus permission to: Create new queues and message exchanges Edit existing queues and message exchange settings Access Message Sender and Browser pages Delete messages

  • View clients

    View all client apps, as well as the client app IDs and client secrets for each client app

  • View destinations

    View all destinations and each destination’s settings (ID, Type, Message TTL, and Message Lock Default TTL). View In Queue messages and In Flight message stats.

Add Other Roles for Anypoint 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 Anypoint Platform, click Access Management.

  2. Click Roles in the left menu, and then click the Add Role button.

  3. Enter the role name and description, and click Add role.

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

  5. Click the MQ tab and set an environment and permissions:

    *MQ* tab
    Figure 2. The screenshot shows the MQ tab, the blue plus icon, and the delete icon used for adding permissions to and deleting permissions from an environment.
  6. Click and select an item from the Permissions menu.

    You can click Select all to set all permissions, or Select none to erase previously clicked settings.

  7. Click the blue plus icon (+) to add the selection.

    The selected environment and permissions appear below the drop-down list.

    You can delete items from this list by clicking the delete icon.

You can delete a role from the Roles page by selecting the checkbox for an entry, clicking the Delete role button, and then confirming the deletion by clicking Yes, delete.

Switch Environments

To switch environments:

  1. From Anypoint Platform, click MQ > Design.

    Environment button
    Figure 3. The arrow shows the environment button for switching environments.
  2. In the Switch Environment box, switch to a different environment or change your default environment:

    • To switch to a different environment, click the name of that environment (for example, Sandbox, if you previously created a sandbox environment) and then click Switch.

    • To change your default environment, click Open your profile to change the default environment and choose a different environment from the Default environment list.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub