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

chore: use ImpersonatedCredentials for service account impersonation for 3pi #501

Merged
merged 2 commits into from
Oct 29, 2020
Merged

chore: use ImpersonatedCredentials for service account impersonation for 3pi #501

merged 2 commits into from
Oct 29, 2020

Conversation

lsirac
Copy link
Contributor

@lsirac lsirac commented Oct 23, 2020

When the service_account_impersonation_url is provided, we must exchange the external account GCP access token for a service account impersonated token.

This PR removes the duplicated code in ExternalAccountCredentials that makes the IAM generateAccessToken call and delegates it to ImpersonatedCredentials.

@lsirac lsirac requested a review from a team as a code owner October 23, 2020 20:53
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 23, 2020
@lsirac lsirac requested a review from chingor13 October 23, 2020 20:59
@chingor13 chingor13 merged commit 17e849e into googleapis:3pi Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants