Repository navigation
Revert "fix(services/s3): use role_arn from environment or profile (#8623)" - #8634
Merged
Merged
Conversation
This was referenced Nov 22, 2026
PsiACE
approved these changes
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Refs #4178.
Rationale for this change
AWS profile loading, environment precedence, AssumeRole and web identity selection, and STS endpoint resolution belong in Reqsign. That follows the decision in #4182 and the direction in apache/reqsign#685.
The fallback added in #8623 skips profiles that specify
source_profileorcredential_source, while a bareAWS_ROLE_ARNor profilerole_arncan trigger plain AssumeRole. AWS usesAWS_ROLE_ARNfor web identity and defines profile role assumption with a credential source. With config loading enabled, the new wrapper can also use explicitly suppliedaccess_key_idandsecret_access_keyto sign an STS request and then use the assumed role for S3, changing the caller's identity.This revert removes the 822 lines added to the S3 backend, including the credential wrapper and its mock STS tests, before release. Reqsign already implements
AssumeRoleChainCredentialProviderforrole_arnwithsource_profilein apache/reqsign#954, which is included inv0.20.9-rc.1(reqsign-aws-v43.5.0). The STS endpoint settings for the AssumeRole and AssumeRoleWithWebIdentity providers landed after that candidate in apache/reqsign#984. The follow-up for #4178 is to upgrade to a published Reqsign version carrying the relevant changes and address gaps such ascredential_sourceupstream.What changes are included in this PR?
Revert commit
67bb90c8445f4f1f4038e1aac7bd96296a02d0a9, including the S3 configuration documentation and generated bindings and website data.Are there any user-facing changes?
Restores S3 credential selection from before #8623. An explicit OpenDAL
role_arnstill configures AssumeRole, and Reqsign continues to load web identity credentials through its existing provider.Breaking changes
AI Usage Statement
codex/gpt-6.2-solhigh