Use SASL authentication with Aiven for Apache Kafka®#

Aiven offers a selection of authentication methods for Apache Kafka®, including SASL (Simple Authentication and Security Layer).

  1. Log in to Aiven Console and choose your project.

  2. From the list of services, choose the Aiven for Apache Kafka service for which you wish to enable SASL.

  3. On the Overview page of the selected service, scroll down to the Advanced configuration section.

  4. Select Change.

  5. Enable the kafka_authentication_methods.sasl setting, and then select Save advanced configuration.

Enable SASL authentication for Apache Kafka

The Connection information at the top of the Overview page will now offer the ability to connect via SASL or via Client Certificate.

Choose between SASL and certificate connection details


Although these connections use a different port, the host, CA, and user credentials remain consistent.