Assigning roles to users

Give users access to Cloudera Migration Assistant by assigning them the cma-admin, cma-migrator, or cma-viewer role in Anywhere Cloud. Assign the role to the user or to a group in your identity provider, and check the result in the web interface.

  • You are an Anywhere Cloud administrator.
  • Your identity provider is configured for Anywhere Cloud. See Configuring the identity provider in the Anywhere Cloud documentation.

To assign roles to groups, Anywhere Cloud must read the users and groups from your identity provider. Anywhere Cloud always needs a connection to your LDAP or Active Directory user directory, and users sign in with LDAP Direct or SAML SSO.

The directory connection has the following requirements:

  • You must have a service account (bind DN and password) with read access to your LDAP or Active Directory user and group directories.
  • If your directory server uses LDAPS, you must have the Certificate Authority (CA) certificate in PEM format.

If you use SAML SSO, the following requirements also apply:

  • You must have the SAML metadata for your identity provider, either as a published URL or as raw XML. When using a URL, it must be reachable from the Cloudera Anywhere Cloud cluster network.
  • If your installation uses a custom gateway address, have that address ready for the Gateway URL field.
  • Username format for SAML SSO: AWC does not support usernames that contain the @ character. Configure your identity provider to send the user's short username (for example, jdoe, not jdoe@example.com) in the SAML NameID.

For more information, see Connecting your directory and choosing a sign-in method in the Anywhere Cloud documentation.

  1. Sign in to the Anywhere Cloud Console as an administrator.
  2. Open the role assignments for the Cloudera Migration Assistant engine instance.
  3. Select the user or the group that you want to give access to.
  4. Assign one of the roles cma-admin, cma-migrator, or cma-viewer.
    For the permissions of each role, see Roles and permissions. Give each user the role with the fewest permissions that the user needs.
  5. Save the assignment.
  6. Ask the user to sign out of Anywhere Cloud and sign in again.
    The new role takes effect at the next sign-in.
To check the roles of a user, the user signs in to Cloudera Migration Assistant and clicks their display name in the header. The Profile page displays the Username, the Display name, and the Roles of the user. If the user has no Cloudera Migration Assistant role, the page displays No roles assigned.