Implement an identity cache in aws-smithy-runtime (#3062)
This PR adds a `ResolveCachedIdentity` trait, and adapts the existing LazyCredentialsCache implementation to it. It does NOT make this cache used yet, as that will be done as a separate PR to keep code review smaller. Notable differences from the credentials cache: - Supports multiple different identity types and identity resolvers - Applies cache partitioning to the `SharedIdentityResolver` so that operation config overrides of the identity resolver will result in the correct identity being resolved. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Loading
Please register or sign in to comment