Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Make flyte-iap catch when trying to generate token for service account from user credentials #2738

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

fg91
Copy link
Member

@fg91 fg91 commented Sep 9, 2024

The cli flyte-iap provided by flytekitplugins-identity-aware-proxy can be used by flytekit and flytectl as a so-called proxyCommand to generate a token sent as proxy-authorization header to a flyteadmin protected by GCP Identity Aware Proxy. See original issue.

We currently don't catch when users try to generate a token for a service account when logged in with their user account.
This PR catches this and raises an actionable error.

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

…m user credentials

Signed-off-by: Fabio Grätz <fabiogratz@googlemail.com>
@fg91 fg91 changed the title Fix: Make catch when trying to generate token for service account from user credentials Fix: Make flyte-iap catch when trying to generate token for service account from user credentials Sep 9, 2024
@fg91 fg91 merged commit 570de08 into master Sep 19, 2024
101 checks passed
@fg91 fg91 deleted the fg91/feat/flytekit-iap-wrong-creds branch September 19, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants