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 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.
- 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/kerberos
CDE_TOKEN
andservice-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>"'