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

Add support for impersonation to the CustomServiceAccount impl #106

Merged
merged 7 commits into from
Apr 9, 2024
Merged

Conversation

djc
Copy link
Owner

@djc djc commented Apr 9, 2024

Less invasive replacement for #92.

@zhrebicek sorry it took me a while to get back to this, are you still interested? I think this could do the job, any thoughts? (The meat of the change here is in the last commit, feel free to ignore the refactoring before that.)

@nrempel does this address your use case?

(Note that there exists an impl TryFrom<CustomServiceAccount> for AuthenticationManager.)

@zhrebicek
Copy link

I did not have much time to come back to it. I will try to test it within days and let you know.

Thanks!

@zhrebicek
Copy link

@djc gave it a go and it works for my use-case. Thanks :)

@djc djc merged commit 8848f66 into main Apr 9, 2024
6 checks passed
@djc djc deleted the subject branch April 9, 2024 21:03
@djc
Copy link
Owner Author

djc commented Apr 9, 2024

@zhrebicek sorry for the long wait -- thanks for the quick feedback!

Published gcp_auth v0.11.1 at registry crates-io.

@djc djc mentioned this pull request Apr 9, 2024
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