Skip to content

Commit

Permalink
fix: remove 1 hour limit for impersonated token
Browse files Browse the repository at this point in the history
Cloud IAM now supports extended 12h lifespan for access token.
  • Loading branch information
shinfan committed Oct 15, 2020
1 parent 1a10a4a commit 236d3f8
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -218,9 +218,6 @@ private ImpersonatedCredentials(Builder builder) {
if (this.scopes == null) {
throw new IllegalStateException(SCOPE_EMPTY_ERROR);
}
if (this.lifetime > ONE_HOUR_IN_SECONDS) {
throw new IllegalStateException(LIFETIME_EXCEEDED_ERROR);
}
}

@Override
Expand Down

0 comments on commit 236d3f8

Please sign in to comment.