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

Support for impersonation #54

Open
morgante opened this issue May 13, 2023 · 2 comments
Open

Support for impersonation #54

morgante opened this issue May 13, 2023 · 2 comments

Comments

@morgante
Copy link

Ideally this tool would support service account impersonation so a user can act "as" a service account without needing to download a JSON key.

@lindsayismith
Copy link

This tool either uses application default credentials (meaning it looks to see if you're on a VM and uses that SA if so), or it delegates to 'gcloud auth print-access-token'.

I think what you're asking is if it could run be configured to run

'gcloud auth print-access-token --impersonate-service-account ...'

to get that token, is that correct?

@yihanzhen
Copy link
Member

maybe we just do this: #55

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

No branches or pull requests

3 participants