DefaultAWSCredentialsIdentityResolver behaviour #3904
-
I'm using the Both Also, should I call I'm using AWSSDK.S3 version 4.0.1.3. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It depends what subclass of Our naming is not great here but think of That all being said we did recently start work in V4 for the S3 POST URLs. You can monitor progress in this branch https://github.com/aws/aws-sdk-net/tree/gcbeatty/presignedpostimpl. We don't have a definitive timeline and our priorities can get shifted out of our control so I don't want you to 100% depend on this getting finished in a timely manner but we are trying to squeeze the work in. |
Beta Was this translation helpful? Give feedback.
It depends what subclass of
AWSCredentials
is resolved to byDefaultAWSCredentialsIdentityResolver
. If it resolves to static credentials from your profile then the sync and async do the same. But if it resolves to a subclass that requires fetching or refreshing credentials like an assume role credential provider then the sync version will internally call async service or web call and block on that.Our naming is not great here but think of
AWSCredentials
as essentially a credential provider handling fetching and refreshing credentials. TheImmutableCredentials
is the immutable container of the access key id, secret key and possible session token at that point in time it is request from th…