Contact Free trial Login

Configure Environment, User, and Role Access

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

Create an Environment

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

  1. Log in to Anypoint Platform.

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

  3. Click Environments under ACCESS MANAGEMENT, and click Add environment:

  4. In the Add Environment screen, 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. In Anypoint Platform, click Access Management and Users.

  2. Click a user name value:

  3. Click MQ and set an environment and permissions.

    mq acc mgmt user detail
  4. Click the drop-down list and select an item from the menu.

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

  5. Click the blue plus icon to add the selection:

    mq blue plus icon

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

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

    mq delete item

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 this tutorial, when you use Anypoint 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.

  1. In Anypoint Platform, click Access Management > Roles.

  2. Click Add Role.

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

  4. Click the role name and click MQ.

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

  6. Click the blue plus button 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 and 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 messages.

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

  2. Click Add role.

  3. Type 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 MQ and set an environment and permissions.

    mq acc mgmt user detail
  6. Click the drop-down list and select an item from the menu.

    For permissions, 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:

    mq blue plus icon

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

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

    mq delete item

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

Switch Environments

  1. In Anypoint Platform, click MQ, and then click Design.

  2. In the Switch Environment screen, you can switch 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 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 drop-down list.

See Also

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.