AWSCredentialProvider is not being called when a operation fails with 403? #7213
jamesrusso
started this conversation in
General
Replies: 1 comment
-
It seems to me, that if the expiration is not included in the token the refresh will never happen. So it's due to failure, but only due to getting close to expiration |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom AWSCredentialProvider which accesses a web service to obtain a session identity using assume role. This identity is used in SQS client. However, when this role expires and the next time the SQS operations happens it returns 403 without consulting with the AWSCredentialProvider to get a new credential? I was under the impression that auth failures would re-call the provider to attempt to get new credentials?
Beta Was this translation helpful? Give feedback.
All reactions