-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sts: Always slash expiry time by 80% (#1533)
Currently, STS expiration time is reduced by 10 seconds, but this is not always good since an S3 call can be called near expiration time but evaluated after the expiration time - the window here is 10 seconds which can be not enough to upload some large data to an S3 server before this latter rejects it with bad (expired) credentials. This commit will slash expiration time by 80% instead by default.
- Loading branch information
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters