Skip to content

Instantly share code, notes, and snippets.

@simplesteph
Created March 28, 2017 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simplesteph/d744fba56091e08920a8da0f6f1470c6 to your computer and use it in GitHub Desktop.
Save simplesteph/d744fba56091e08920a8da0f6f1470c6 to your computer and use it in GitHub Desktop.
// Kafka Client authentication
KafkaClient {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
storeKey=true
keyTab="/etc/kafka/keytabs/schemaregistry.keytab"
principal="schemaregistry@EXAMPLE.COM";
};
// Zookeeper client authentication
Client {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
storeKey=true
keyTab="/etc/kafka/keytabs/myzkclient.keytab"
principal="myzkclient@EXAMPLE.COM";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment