Skip to content

Add authentication with ServiceAccountToken #5138

@yanniszark

Description

@yanniszark

Problem Statement

Clients in various namespaces (e.g., Notebooks) need to access the Pipelines API. However, there is currently no way for these clients to authenticate to the Pipelines API:
#4440
#4733
In-cluster clients need a way to authenticate to the KFP API Server.

Proposed Solution

The correct way to do this is by using audience-scoped ServiceAccountTokens. In Arrikto's Kubeflow distribution, we have been successfully using this method for a long time, in numerous customer environments. We want to upstream this solution so the whole community can benefit as well, since we see this is an issue many users bump into.
Changes need to happen in 2 places:

  • API Server, which needs to support authentication with ServiceAccountToken.
  • KFP Client, to better support this authentication method.

/assign @yanniszark
cc @Bobgy

Metadata

Metadata

Labels

lifecycle/staleThe issue / pull request is stale, any activities remove this label.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions