Configuring Cloudera Lakehouse Optimizer roles

Map identity groups to Cloudera Lakehouse Optimizer Administrator, Operator, and Monitor roles so users can access the CLI and REST APIs according to their responsibilities.

Before you create policies or run maintenance, assign each user an appropriate Cloudera Lakehouse Optimizer role. For role definitions and capabilities, see Cloudera Lakehouse Optimizer roles and access.

Default group names are dlm_admin (Administrator), dlm_operator (Operator), and dlm_monitor (Monitor). You can map custom group names in service configuration.

  1. Create or identify user groups for each Cloudera Lakehouse Optimizer role.
    For example, create groups such as CLO_Admin, CLO_Operator, and CLO_Monitor in your enterprise identity provider or user management system.
  2. Add users to the appropriate groups.
    Ensure that each user who runs CLI commands or REST APIs is a member of exactly one Cloudera Lakehouse Optimizer role group for that environment.
  3. Map the groups to Cloudera Lakehouse Optimizer roles in service configuration.
    1. Go to the Admin Center > Security > Users and Groups.
    2. Search for the CLO Security Role Admin property, remove the default dlm_admin value if required, and add the [*** ADMINISTRATOR GROUP NAME ***]. For example, CLO_Admin.
    3. Search for the CLO Security Role Operator property, remove the default dlm_operator value if required, and add the [*** OPERATOR GROUP NAME ***]. For example, CLO_Operator.
    4. Search for the CLO Security Role Monitor property, remove the default dlm_monitor value if required, and add the [*** MONITOR GROUP NAME ***]. For example, CLO_Monitor.
    5. Save changes and apply the configuration.
      You can specify multiple comma-separated group names for each property.
  4. Synchronize role membership with the running service when your deployment requires it.

    After group membership changes, allow identity synchronization to complete so REST API authentication reflects the updated groups. On Anywhere Cloud, Ranger policies through Cloudera Unified Data Fabric enforce governance for the workspace (see Configuring Cloudera Lakehouse Optimizer on Anywhere Cloud).

To call REST APIs, generate an access token after roles are configured. For more information, see Generating tokens and accessing Cloudera Lakehouse Optimizer REST APIs.