forked from remote/oauth2
Added documentation for external account integration.
Change-Id: I30610b306ea5a8c1d7e1fc3e6f151a4449345331
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user