Configure Kerberos authentication in Apache Knox shared providers
An example of how to add the kerberos-auth configuration provider from Cloudera
Manager.
From Cloudera Manager > Knox > Configuration, add the following entry in the Knox Gateway Advanced
Configuration Snippet (Safety Valve) for
conf/cdp-resources.xml:
AUTH_CONFIG_KERBEROS_PRINCIPAL is the actual SPNEGO
principal generated for the given host (see Administration ->
Security -> Kerberos Principals / HTTP).
AUTH_CONFIG_KERBEROS_KEYTAB is the Cloudera
Manager-generated keytab file of the current Knox process. It is located
in Cloudera Manager’s CONF_DIR which can be found on the
Processes tab of the Knox Gateway instance.
ALIAS=AUTH_CONFIG_SIGNATURE_SECRET must not be stored
as a plain text password, so use Knox's alias service. This means that
whatever topology will reference that shared provider configuration, the
AUTH_CONFIG_SIGNATURE_SECRET must be created for it
(see Saving aliases for details.