Intermittent “An error occurred while loading credentials” after AssumeRole (Rust SDK) #1380
Unanswered
erenyigit-arf
asked this question in
Q&A
Replies: 2 comments
-
|
bump |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Looks like this was opened as an issue, further discussion will be held there: #1381 |
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.
-
We are intermittently receiving the following error when using the AWS SDK for Rust to assume an IAM role:
An error occurred while loading credentials
The issue is not consistent — sometimes the AssumeRole call succeeds and credentials load correctly, but other times the same code fails with the above message. No additional logs or stack traces are printed.
Sample Code:
Environment:
Expected:
AssumeRole should consistently return valid temporary credentials.
Actual:
The operation sometimes fails with “An error occurred while loading credentials,” without any further diagnostic output.
Request:
Any idea for credential loading failures in the Rust SDK?
Are there known issues or recommended retries/logging options for the AssumeRoleProvider?
Beta Was this translation helpful? Give feedback.
All reactions