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: disallow auto-iam-authn with gcloud-auth #1762

Merged
merged 4 commits into from
Apr 20, 2023
Merged

fix: disallow auto-iam-authn with gcloud-auth #1762

merged 4 commits into from
Apr 20, 2023

Conversation

enocom
Copy link
Member

@enocom enocom commented Apr 20, 2023

This combination is insecure because it puts an OAuth2 token with broader scoped access than necessary into the ephemeral certificate.

Because gcloud-auth is a legacy flag, it is generally discouraged. This commit also adds a note to make that clear and provides a clear alternative using Application Default Credentials.

Fixes #1754

This combination is insecure because it puts an OAuth2 token with
broader scoped access than necessary into the ephemeral certificate.

Because gcloud-auth is a legacy flag, it is generally discouraged. This
commit also adds a note to make that clear and provides a clear
alternative using Application Default Credentials.

Fixes #1754
@enocom enocom requested a review from a team as a code owner April 20, 2023 12:42
@enocom enocom merged commit 8200abe into main Apr 20, 2023
@enocom enocom deleted the gcloud-auth-fix branch April 20, 2023 16: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.

Proxy doesn't allow Auto IAM Authn with gcloud user credentials.
2 participants