apache / apache/arrow-rs-object-store
AWS S3 - STS Request Failures come back as Error::Generic
- Dominant language
- Rust
- Stars
- 322
- Forks
- 212
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 10
Description
**Describe the bug**
A failure to do a complete AssumeWebIdentity comes back as Error::Generic and not as Error::PermissionDenied
**To Reproduce**
Create an Amazon Client and use STS to authenticate.
**Expected behavior**
The failure should return as Error::PermissionDenied
**Additional context**
Overall, a way to expose the underlying HTTP Response would be extremely helpful when debugging some S3 requests.
Contributor guide
Research direction
Start by reproducing an incomplete AssumeWebIdentity authentication through an Amazon Client using STS and inspect the returned error. Check how the failure is classified and whether the underlying HTTP response can be exposed for debugging; done when the failure is reported as Error::PermissionDenied and the requested response context is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, rust
- Domain
- authentication, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100