# Delegation Token Framework: Obtain, Distribute and Use Temporary Credentials Automatically

DevFeed: [Delegation Token Framework: Obtain, Distribute and Use Temporary Credentials Automatically](<https://devfeed.tech/articles/delegation-token-framework-obtain-distribute-and-use-temporary-credentials-automatically-48465.md>)

Original publisher: [Read original article](<https://flink.apache.org/2023/01/20/delegation-token-framework-obtain-distribute-and-use-temporary-credentials-automatically/>)

Published: 2023-01-20T08:00:00Z

Content type: release

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Apache Spark](<https://devfeed.tech/topics/spark.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>)

Tags: [apache-flink](<https://devfeed.tech/tags/apache-flink.md>), [apache-spark](<https://devfeed.tech/tags/apache-spark.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [external-services](<https://devfeed.tech/tags/external-services.md>), [flink](<https://devfeed.tech/tags/flink.md>), [framework](<https://devfeed.tech/tags/framework.md>), [s3](<https://devfeed.tech/tags/s3.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

Apache Flink 1.17 introduces a delegation token framework that authenticates with external services centrally through the JobManager and distributes temporary credentials to TaskManagers. The framework is protocol-agnostic and supports Hadoop filesystems, HBase, and S3, with Kafka and Hive planned.

## Source excerpt

The Apache Flink Community is pleased to announce that the upcoming minor version of Flink (1.17) includes the Delegation Token Framework proposed in FLIP-272. This enables Flink to authenticate to external services at a central location (JobManager) and distribute authentication tokens to the TaskManagers. Introduction # Authentication in distributed systems is not an easy task. Previously all worker nodes (TaskManagers) reading from or writing to an external system needed to authenticate on their own.