Mounting a keytab file

Mounting a keytab file

If you need to specify a keytab file when running Kadeck on your local machine to connect to your Apache Kafka cluster, you need to create a volume containing the keytab of your certificate and mount it to your Docker container.

Mounting the keytab file to your container

Start Kadeck with the following command:

  1. docker run -d --network host --name=kadeck-e xeotek_kadeck_secret="<secret>" -e xeotek_kadeck_teamid="<teamid>" \
  2. -e xeotek_kadeck_port=80 -v "<absolutepath_to_keytab_file>":"/opt/xeotek/<name_of_your_keytab_file>" --rm xeotek/kadeck:4.3.0

Replace the placeholders accordingly:

<absolutepath_to_keytab_file>
The absolute path of your keytab file on your machine (e.g., "/home/myuser/myuser.keytab").

<name_of_your_keytab_file>
The name of your keytab file inside the container. Note this, as you need to specify the path including the file name in your Kerberos settings when creating the server configuration in Kadeck. Example: myuser.keytab

<teamid>
Your teamid that was provided to you in your welcome mail.

<secret>
Your secret that was provided to you in your welcome mail.

Logging in & configure Kerberos/SASL

Navigate to http://localhost:80 with your browser and log in with your user (default: admin/admin).

  1. Create a new server configuration or edit your existing one
  2. Enter or update the connection details appropriately.
  3. Select the appropriate security protocol.
  4. In the SASL tab update your SASL configuration string accordingly:
    useKeyTab=true keyTab="/opt/xeotek/<name_of_your_keytab_file>"
 To learn more about configuring Kerberos and SASL, read our article SASL/Kerberos Configuration.

    • Related Articles

    • Log File & Troubleshooting Help

      Logs In general, the log file can be found in the current user's home directory. Log file location Windows C:\Users\{user.name}\.kadeck_log MacOS /Users/{user.name}/.kadeck_log Linux /home/{user.name}/.kadeck_log Could not start Kadeck backend ...
    • Troubleshooting

      If you have problems running Kadeck Teams, log output is very important for quick support. If possible, the problem should be recreated with the log level "DEBUG" and then the log output should be sent to Kadeck Support. Most of our customers use a ...
    • General SASL/Keberos configuration

      This article describes how to configure a server connection with SASL and Kerberos correctly. Introduction Kadeck supports a variety of configurations when connecting to a server using SASL. Supported security protocols SASL_PLAINTEXT SASL_SSL ...
    • Download and Startup

      Download the version of Kadeck Desktop from here. There are 3 supported operating systems. Windows After downloading the file win.zip, extract its contents and click on the Kadeck executable. MacOS After downloading the file mac.zip, extract its ...
    • Download Kadeck docker image for offline use

      Offline docker setup These are the steps to transfer the Kadeck Teams docker image to a server that runs docker without internet access: On a device with internet access: use docker save xeotek/kadeck:VERSION > kadeck.tar to save the file ...