From 0206e6c306b68b8260658389c570188d60fb3df3 Mon Sep 17 00:00:00 2001 From: Attila Sasvari Date: Mon, 14 Jan 2019 17:04:25 +0100 Subject: [PATCH] MINOR: Fix typo in security.html (#6141) kafka-delegation-tokens.sh is the name of the script --- docs/security.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/security.html b/docs/security.html index 599a47a6dd7..e5e55325450 100644 --- a/docs/security.html +++ b/docs/security.html @@ -920,7 +920,7 @@

Typical steps for delegation token usage are:

  1. User authenticates with the Kafka cluster via SASL or SSL, and obtains a delegation token. This can be done - using AdminClient APIs or using kafka-delegation-token.sh script.
  2. + using AdminClient APIs or using kafka-delegation-tokens.sh script.
  3. User securely passes the delegation token to Kafka clients for authenticating with the Kafka cluster.
  4. Token owner/renewer can renew/expire the delegation tokens.
@@ -944,10 +944,10 @@
  • Creating Delegation Tokens
    -

    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.

    + kafka-delegation-tokens.sh script examples are given below.

    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