Added documentation for external account integration.

Change-Id: I30610b306ea5a8c1d7e1fc3e6f151a4449345331
This commit is contained in:
Patrick Jones
2021-03-14 19:28:07 -07:00
parent 9bb904979d
commit da817920f0
4 changed files with 40 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ type impersonateTokenSource struct {
scopes []string
}
// Token performs the exchange to get a temporary service account
// Token performs the exchange to get a temporary service account token to allow access to GCP.
func (its impersonateTokenSource) Token() (*oauth2.Token, error) {
reqBody := generateAccessTokenReq{
Lifetime: "3600s",