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: ensure separate token source with auto-iam-authn #1637

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Conversation

enocom
Copy link
Member

@enocom enocom commented Feb 6, 2023

When a caller passes the --token flag with --auto-iam-authn, the Proxy will now require a separate --login-token. This changes ensures a token with SQL Admin scope does not make its way into the ephemeral certificate. Instead, the value passed to --login-token will be used and should have only the sqlservice.login scope.

When a caller passes the --token flag with --auto-iam-authn, the Proxy
will now require a separate --login-token. This changes ensures a token
with SQL Admin scope does not make its way into the ephemeral
certificate. Instead, the value passed to --login-token will be used and
should have only the sqlservice.login scope.
@enocom enocom requested a review from a team as a code owner February 6, 2023 23:13
cmd/root.go Outdated Show resolved Hide resolved
@enocom enocom merged commit 325a487 into main Feb 7, 2023
@enocom enocom deleted the token-flag branch February 7, 2023 22:26
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