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

Property to identify the account a credential is representing #374

Open
jceresini opened this issue Oct 8, 2019 · 0 comments
Open

Property to identify the account a credential is representing #374

jceresini opened this issue Oct 8, 2019 · 0 comments
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@jceresini
Copy link

We are working on updating some of our code to use google.auth.impersonated_credentials in place of google.oauth2.service_account credentials. Some of our code needs to know the email address associated with credentials it's using. Currently our code looks at the my_creds.signer_email property. With impersonated credentials we have to look at my_creds._target_principal. It would be nice if the base Credentials class implemented a way to get the email address directly and each implementation handled returning it correctly.

@busunkim96 busunkim96 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants