From 0206e6c306b68b8260658389c570188d60fb3df3 Mon Sep 17 00:00:00 2001
From: Attila Sasvari Typical steps for delegation token usage are: Tokens can be created by using AdminClient APIs or using kafka-delegation-token.sh script.
+ Tokens can be created by using AdminClient APIs or using kafka-delegation-tokens.sh script.
Delegation token requests (create/renew/expire/describe) should be issued only on SASL or SSL authenticated channels.
Tokens can not be requests if the initial authentication is done through delegation token.
- kafka-delegation-token.sh script examples are given below.
@@ -944,10 +944,10 @@
Creating Delegation Tokens
-
Create a delegation token:
> bin/kafka-delegation-tokens.sh --bootstrap-server localhost:9092 --create --max-life-time-period -1 --command-config client.properties --renewer-principal User:user1