Configuring Hadoop Authentication

Learn about how to configure Hadoop Authentication for a Service.

  1. In the Cloudera console, click the Data Engineering tile. The Cloudera Data Engineering Home page displays.
  2. Click Administration in the left navigation menu. The Administration page displays.
  3. In the Services column, select the environment for which you want to configure the Hadoop Authentication and click Service Details.
  4. Click Hadoop Authentication.
  5. Enter the Principal value.
  6. Under Keytab file, click Select File and select the relevant keytab file. For more information about how to get the keytab file, see Kerberos Configuration Strategies for CDP.
  7. Click Authenticate.
  1. Get the Keytab metadata. For more information about how to get the keytab file, see Kerberos Configuration Strategies for CDP.
    curl -X GET -H "Authorization: Bearer ${CDE_TOKEN}" \
    <service-url>/user-auth/api/v1/kerberos
    To get CDE_TOKEN and service-url, see Getting a Cloudera Data Engineering API access token.
  2. Upload the Keytab file.
    curl -H "Authorization: Bearer ${CDE_TOKEN}" <service-url>/user-auth/api/v1/kerberos \
    -H "Content-Type: application/json" \
    -X POST 
    --form 'principal="<Principal>"' \
    --form 'file=@"</path/to/keytab/file>"'