-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add a Cache for caching credentials, similar to SDK v1 session cache. * Add a Provider interface that provides aws.Config * Simplified role chaining options Unlike our SDK v1 session cache, the SDK v2 implementation in this PR does not include region as a cache key. There are regional AWS STS endpoints for lower latency calls, but the lowest latency path is to just grab credentials from the cache if we already have them - the region they were originally taken from doesn't matter.
- Loading branch information
1 parent
60aaa6d
commit 2bd71db
Showing
4 changed files
with
417 additions
and
74 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
Oops, something went wrong.