Jun 24, 2019
Aiven Kafka now supports SASL authentication
Aiven Kafka users can now enable SASL authentication between their applications and Aiven Kafka; find out more about it in this post.
Aiven Kafka now supports SASL as a complementary authentication method between your Kafka-powered applications and your Kafka endpoint. This gives you the option to replace your access key and access certificate with a username and password that you specify.
Note that with SASL enabled, you'll still require a CA (certificate authority) certificate to connect your producers and consumers to your Aiven Kafka endpoint.
SASL stands for Simple Authentication and Security Layer and is a popular authentication framework already used widely across many established internet protocols, including AMQP, IMAP, IRC, and memcached.
Aiven Kafka supports the following SASL mechanisms:
- SASL Plain: a basic, cleartext password handler based on RFC 4616;
- SCRAM (or Salted Challenge Response Authentication Mechanism): a more complex challenge-response authentication method.
How SASL works
To turn on SASL support, just enable the kafka_authentication_methods.sasl
setting within your advanced configuration settings.
You can then configure your producers and consumers to use SASL authentication to your endpoint accordingly.
Wrapping up
You now have two options — Client Certificate or SASL — for connecting your Kafka producers and consumers to your Aiven Kafka endpoint. We’ll always be adding more options, so stay up to date from our blog, changelog RSS feeds, or follow us on Twitter or LinkedIn.
Stay updated with Aiven
Subscribe for the latest news and insights on open source, Aiven offerings, and more.
Related resources
Oct 2, 2024
Deploy Google Cloud's high-performance, PostgreSQL-compatible database AlloyDB Omni on AWS, Azure and Google Cloud, managed by Aiven’s multi-cloud, data infrastructure platform.
Mar 3, 2022
Apache Flink® 1.15.0 will introduce new JSON SQL functions, allowing even more powerful data processing. Read on to find out what is in store.
Feb 3, 2023
Aiven brings PostgreSQL® version 15 to your data infrastructure. Find out what the key improvements are and how you can get the new version.