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

feat: define useful properties on google.auth.external_account.Credentials #770

Merged
merged 2 commits into from Jun 9, 2021
Merged

feat: define useful properties on google.auth.external_account.Credentials #770

merged 2 commits into from Jun 9, 2021

Commits on Jun 9, 2021

  1. feat: define useful properties on `google.auth.external_account.Crede…

    …ntials`
    
    This includes the following properties:
    
    - `info`: This is the reverse of `from_info` defined on subclasses and useful to
      serialize external account credentials.
    - `service_account_email`: This is the corresponding service account email if impersonation is used.
    - `is_user`: This is `False` for workload identity pools and `True` for workforce pools (not yet supported).
      This can be mainly determined from the STS audience.
    
    While the properties will primarily facilitate integration with gcloud, they are publicly useful for other contexts.
    bojeil-google committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    d7fd099 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be71cd2 View commit details
    Browse the repository at this point in the history