User authentication and identity

The Cloudera Anywhere Cloud Knox Gateway authenticates every user before a request reaches Cloudera Unified Data Fabric and passes a trusted identity, including the user's groups, that Cloudera Unified Data Fabric uses for every decision.

How users are authenticated

Users do not authenticate to Cloudera Unified Data Fabric directly. The Cloudera Anywhere Cloud Knox Gateway in front of Cloudera Unified Data Fabric authenticates them with the sign-in methods that are configured for the gateway, such as Security Assertion Markup Language (SAML) single sign-on (SSO) with your organization's identity provider. Cloudera Unified Data Fabric does not add sign-in methods of its own. If you open Cloudera Unified Data Fabric without a valid session, you are redirected to the sign-in page.

The platform passes the trusted identity to Cloudera Unified Data Fabric in the following request headers:

  • x-awc-username: the authenticated user
  • x-awc-roles: the roles and groups of the user
  • x-awc-source-workload-id: the verified workload identity of the calling service

Cloudera Unified Data Fabric uses the user name as the identity for the request. If no user name is present, it uses the verified workload identity of the calling service. For calls between services inside the cluster, see Service-to-service authentication.

A request passes through the following stages:

  1. The user signs in through SAML SSO, and the browser sends the request with the resulting session.
  2. The Cloudera Anywhere Cloud Knox Gateway authenticates the user, removes any identity information that the client supplied, and adds the trusted identity.
  3. Cloudera Unified Data Fabric establishes the authenticated user and their groups, and builds the request context.
  4. Cloudera Unified Data Fabric checks the request against metadata access policies in Apache Ranger, and runs the operation only if it is allowed.

For identity provider setup, see Configuring the identity provider in the Cloudera Anywhere Cloud documentation.

Users and groups

Users and their groups come from your organization's identity provider. The gateway passes the groups of the user in the x-awc-roles header with every request, and Cloudera Unified Data Fabric reads them from each request.

Identity rules for integrations

  • Identity comes from the authenticated request, never from the request content. The platform removes identity headers that a client supplies, both at the gateway and on calls between services, so a client cannot supply its own identity.
  • Metadata ingestion identifies the caller from the trusted identity in the request (x-awc-username), not from the user field in the notification.
  • The Maui AI chat acts as the authenticated catalog user when it answers questions about metadata in Cloudera Unified Data Fabric. Requests without a trusted user identity are rejected.