Configuring Hadoop Authentication
Learn about how to configure Hadoop Authentication for a Service.
- In the Cloudera console, click the Data Engineering tile. The Cloudera Data Engineering Home page displays.
- Click Administration in the left navigation menu. The Administration page displays.
- In the Services column, select the environment for which you want to configure the Hadoop Authentication and click Service Details.
- Click Hadoop Authentication.
- Enter the Principal value.
- Under Authentication Type, choose one of the following options:
- Using Keytab file:
- Under Authentication Type, select Keytab file checkbox.
- 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.
- Using password:
- Under Authentication Type, select Password checkbox.
- In the Password text box, enter the kerberos password.
- Using Keytab file:
- Click Authenticate.
- Get the Keytab metadata. For more information about how to get the keytab file, see Kerberos Configuration Strategies for
CDP.
To getcurl -X GET -H "Authorization: Bearer ${CDE_TOKEN}" \ <service-url>/user-auth/api/v1/kerberosCDE_TOKENandservice-url, see Getting a Cloudera Data Engineering API access token. - 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>"'
