> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/data-quality-self-hosted/connections/authentication/create-kerberos-authentication-files.md).

# Create Kerberos authentication files

In order to authenticate with Kerberos, you need to create the files with which Collibra DQ will access to authenticate your datasource connections.

## Prerequisites

You have:

* A krb5.conf file to store your Kerberos configuration information.
* Admin user permissions.

## Steps

{% tabs %}
{% tab title="Keytab" %}
{% stepper %}
{% step %}
Open a terminal session.
{% endstep %}

{% step %}
Run the following command with your own username:

```
kinit <your-username>
```

{% endstep %}

{% step %}
Enter the password of your keytab file.

{% hint style="info" %}
If any encryption-related messages appear, you can safely ignore them.
{% endhint %}
{% endstep %}

{% step %}
Run the following command with your file name:

```
kinit -c /tmp/<your-file-name>.keytab
```

{% hint style="info" %}
You can define the location of your file, for example `/tmp/`.
{% endhint %}
{% endstep %}

{% step %}
Run the following command with your username to view the details of your keytab file:

```
klist <your-username>
```

{% endstep %}
{% endstepper %}

<details>

<summary>View example screenshot...</summary>

![Kerberos Keytab example for oracle connection](https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-792e2bfc3a099162e7eab7ceb7c0bac1e332cba4%2Fdq-kerberos-keytab-example.png?alt=media)

</details>
{% endtab %}

{% tab title="TGT" %}
{% stepper %}
{% step %}
Open a terminal session.
{% endstep %}

{% step %}
Run the following command with your username:

```
kinit <your-username>
```

{% endstep %}

{% step %}
Enter the password of your TGT file.
{% endstep %}

{% step %}
Run the following command with your file name:

```
kinit -c /tmp/<your-file-name>.tgt
```

{% hint style="info" %}
You can define the location of your file, for example `/tmp/`.
{% endhint %}
{% endstep %}

{% step %}
Run the following command with your username to view the details of your TGT file:

```
klist <your-username>
```

{% endstep %}
{% endstepper %}

<details>

<summary>View example screenshot...</summary>

![Kerberos TGT example for oracle connection](https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-46c321788fc6b92ce17956ba865778bd3af05825%2Fdq-kerberos-tgt-example.png?alt=media)

</details>
{% endtab %}
{% endtabs %}
