aws/credentials
:ProviderWithContext
optional interface has been added to support passing contexts on credential retrieval (#3223)- Credential providers that implement the optional
ProviderWithContext
will have context passed to them ec2rolecreds.EC2RoleProvider
,endpointcreds.Provider
,stscreds.AssumeRoleProvider
,stscreds.WebIdentityRoleProvider
have been updated to support theProviderWithContext
interface- Fixes #3213
- Credential providers that implement the optional
aws/ec2metadata
: Context aware operations have been addedEC2Metadata
client (#3223)