Skip to content

HDDS-14861. [STS] Fix Latent S3 API issue when ListBuckets Missing a Required Permission#9949

Draft
fmorg-git wants to merge 8 commits intoapache:HDDS-13323-stsfrom
fmorg-git:HDDS-14861
Draft

HDDS-14861. [STS] Fix Latent S3 API issue when ListBuckets Missing a Required Permission#9949
fmorg-git wants to merge 8 commits intoapache:HDDS-13323-stsfrom
fmorg-git:HDDS-14861

Conversation

@fmorg-git
Copy link
Contributor

Please describe your PR in detail:

  • Currently, in latent S3 api handling, if user wants to make a list-buckets call and is missing either the READ or LIST permission on the volume, when using AWS cli, it gives an internal server error after 4 retries. Because this is a latent S3 api bug, the same thing happens with STS. This ticket fixes the underlying issue so a proper AccessDenied error is returned.
  • See the Jira ticket for additional info.
  • This PR depends on HDDS-14851. [STS] Better Handling for PayloadTooLarge and Small Perf Fix #9938

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-14861

How was this patch tested?

unit tests, smoke test, manual testing with AWS cli

@fmorg-git fmorg-git marked this pull request as draft March 18, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant