# Add security to cluster connections

If you have a secure Hadoop cluster, the security options depend on the driver. All drivers have the **Kerberos** option. If you are using a Hortonworks driver, you can also select **Knox** as the security type. If you are connected to a Pentaho Repository, you can specify additional Kerberos options for secure impersonation. See the **Administer Pentaho Data Integration and Analytics** document for further information on secure impersonation.

If you are not sure what security type is set up for the Hadoop cluster, contact the cluster administrator.

**Note:** For Kerberos, you need the authentication user name and either a password or a keytab file. For Knox, you need the Gateway URL, user name, and password.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/advanced-topics-pentaho-data-integration-overview/connecting-to-a-hadoop-cluster-with-the-pdi-client-article/adding-a-cluster-connection-connect-to-a-hadoop-cluster-with-the-pdi-client/secure-cluster-connections-add-hadoop-cluster-connection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
