Skip to content

Commit

Permalink
fix: fix impersonated cred exception doc (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
arithmetic1728 authored Jun 3, 2020
1 parent d0149bd commit 9d5a9a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions google/auth/impersonated_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ def _make_iam_token_request(request, principal, headers, body):
API call.
Raises:
TransportError: Raised if there is an underlying HTTP connection
Error
DefaultCredentialsError: Raised if the impersonated credentials
are not available. Common reasons are
`iamcredentials.googleapis.com` is not enabled or the
`Service Account Token Creator` is not assigned
google.auth.exceptions.TransportError: Raised if there is an underlying
HTTP connection error
google.auth.exceptions.RefreshError: Raised if the impersonated
credentials are not available. Common reasons are
`iamcredentials.googleapis.com` is not enabled or the
`Service Account Token Creator` is not assigned
"""
iam_endpoint = _IAM_ENDPOINT.format(principal)

Expand Down

0 comments on commit 9d5a9a9

Please # to comment.