impersonate: token limited to 1 hour #1185
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
A impersonated token is restricted to one hour here:
https://github.com/googleapis/google-api-go-client/blob/master/impersonate/impersonate.go#L69
however, an org policy can be set that allows credentials valid upto 12 hours:
constraints/iam.allowServiceAccountCredentialLifetimeExtension
eg i'm setting one here to
4000s
The text was updated successfully, but these errors were encountered: