SCRAM
A SASL mechanism that proves a client knows its password without sending it.
In more detail
Kafka stores salted SCRAM credentials in the cluster metadata, where kafka-configs creates and changes them. The client and broker exchange challenges, so a captured exchange does not reveal the password.
Example
kafka-configs --alter --add-config 'SCRAM-SHA-512=[password=secret]' --entity-type users --entity-name depot-appRelated terms
- SASL — The framework Kafka uses to authenticate clients with a choice of login mechanisms.
- SASL/PLAIN — The SASL mechanism that sends a username and password as they are.
- JAAS — The Java login framework whose configuration tells a Kafka client or broker which SASL login module and credentials to use.
Taught in
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Where Is The Password Kept? — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Night Before The Administrator Exam — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep