diff --git a/google/internal/externalaccount/impersonate.go b/google/internal/externalaccount/impersonate.go index 4c22aac..98be711 100644 --- a/google/internal/externalaccount/impersonate.go +++ b/google/internal/externalaccount/impersonate.go @@ -27,6 +27,7 @@ type impersonateTokenResponse struct { ExpireTime string `json:"expireTime"` } +// impersonate performs the exchange to get a temporary service account func (ts tokenSource) impersonate() (*oauth2.Token, error) { reqBody := generateAccessTokenReq{ Lifetime: "3600s",