LoadOptions for wrapWithCredentialsCache #2000
Labels
feature-request
A feature should be added or improved.
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
Describe the feature
When resolving credentials, it would be nice to be able to define
wrapWithCredentialsCache
used here.Consumer of AWS library could define their own credential cache mechanism (eg asynchronous) while beneficiate from
resolveCredentialChain
to get the right credential provider.Use Case
Credential Cache does not support asynchronous retrieval of credentials.
To be able to achieve this, it requires changes inside credential cache (PR aborted) or redefine provider after
config.LoadDefaultConfig
has been called (if consume wants to beneficiates from default configuration).Proposed Solution
Adding LoadOptions:
Other Information
No response
Acknowledgements
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2@v1.17.3
github.com/aws/aws-sdk-go-v2/config@v1.18.10
github.com/aws/aws-sdk-go-v2/credentials@v1.13.10
Go version used
1.19
The text was updated successfully, but these errors were encountered: