principal mapping rules
Broker settings that turn a certificate's distinguished name or a Kerberos principal into a short Kafka user name.
In more detail
Each rule is a regular expression with a replacement, tried in order, ending with DEFAULT, which keeps the full name. A name no rule matches makes authentication fail.
Example
RULE:^CN=([^,]+),.*$/$1/,DEFAULTRelated terms
- distinguished name — The full name in a certificate's subject, made of attributes such as CN, OU and O.
- GSSAPI — The SASL mechanism Kafka uses for Kerberos logins.
- Kafka ACL — A rule that allows or denies one principal one operation on one Kafka resource.
Taught in
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Where Is The Password Kept? — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep