-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConstructionFailure(ConstructionFailure { source: SigningStageError { kind: MissingCredentials } }) on EKS #760
Comments
have you verified that the credentials actually exist in the environment? Can you look at logs for |
it looks like the SDK is failing to communicate with IDMS and is timing out
I also verified that IAM is configured properly with another container using aws-sdk-go-v2 and it's able to grab the correct credentials from the EC2 host. |
interesting— As a side note, since IMDS is the last provider in the chain, a timeout isn't necessarily meaningful info since it means we didn't get credentials anywhere else either. Do logs indicate that the Go SDK is using IMDS (instead of the web identity token provider?) I'd also want to verify that Go is using IMDSv2. The Rust SDK, being a new SDK does not have support for a fallback to (insecure) IMDSv1 so it may behave slightly differently. |
|
Describe the bug
aws-sdk-rust not loading credentials from IAM role attached to EC2 within a EKS cluster.
Expected Behavior
I expect the default provider to load credentials from the IAM role attached to the EC2
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
Version
Environment details (OS name and version, etc.)
rust:1.68
Logs
The text was updated successfully, but these errors were encountered: