Flyte Authentication inside Task Containers #4527
zeryx
started this conversation in
RFC Incubator
Replies: 1 comment
-
This is partially coming with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RFC: Flowing Flyte Auth into Task Containers
Abstract
This RFC proposes a method to flow Flyte authentication information into task containers. It aims to simplify access to execution-specific information and enable secure, streamlined usage of Flyte features within tasks. The proposal introduces a Flyte Auth Agent system to bind the authentication context of the task/workflow executor to all executed tasks.
Motivation
In many workflows, accessing execution-specific information (e.g., used images, versions) is crucial. Additionally, tasks often need to interact with Flyte for remote registration or to use Flyte features (e.g.,
pyflyte register
,build
, project creation). Currently, this requires creating a Kubernetes App, recording its ID and secret key, and then passing these to a Flyte Task. This approach is either insecure (plaintext files) or overly complex (Kubernetes Secrets).Proposed Approach
Example
Implications
Open Questions
How will the Flyte Auth Agent handle different types of execution environments?
What are the potential scalability implications of binding auth to each task?
Beta Was this translation helpful? Give feedback.
All reactions