Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Token are stored in Zookeeper as dynamically configurable properties in the path /tokens/<token-id>

Code Block
languagejava
title Delegation Token Details
// SCRAM credentials for tokenID token123: Zookeeper persistence path /tokens/token123
{
        "version":1,
        "details": {
          "owner" : "owner",
          "renewer" : "renewer",
          "maxLifeTime" : "maxLifeTime",
    "tokenId"    }: "tokenId"
};

 

SCRAM Extensions

SCRAM messages have an optional extensions field which is a comma-separated list of key=value pairs.
After KIP-84 implementation , an extension will be added to the first client SCRAM message to indicate
that authentication is being requested for a delegation token. This will enable Kafka broker to obtain
credentials and principal using a different code path for delegation tokens.

...