Repository navigation
feat(services): wire reqsign-command-execute-tokio for process, Azure CLI, and GCP external-account credentials - #8945
Merged
Conversation
… CLI, and GCP external-account credentials
PsiACE
approved these changes
Nov 23, 2026
1 task
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?
Closes #8872.
Rationale for this change
reqsign-aws-v4,reqsign-azure-storage, andreqsign-googlealready support command-backed credential flows (AWScredential_process, Azure CLIaz account get-access-token, and GCP executable external-account credentials), but OpenDAL'sreqsign_core::Contextconstruction previously wiredTokioFileReadwithoutTokioCommandExecute. As a result, these credential providers always failed at runtime withno command execute configured.What changes are included in this PR?
reqsign-command-execute-tokio = { version = "3.0.9", default-features = false }under[target.'cfg(not(target_arch = "wasm32"))'.dependencies]inopendal-service-s3,opendal-service-azblob,opendal-service-azdls,opendal-service-azfile,opendal-service-gcs, andopendal-service-gcs-grpc, preservingwasm32-unknown-unknownbuilds.TokioCommandExecuteontoreqsign_core::Contextvia#[cfg(not(target_arch = "wasm32"))]ins3,azblob,azdls,azfile,gcs, andgcs-grpc.azblob,azdls, andazfile: whentenant_id,client_id, andclient_secretare all non-empty,ClientSecretCredentialProvideris inserted ahead ofDefaultCredentialProvider::builder().no_client_secret().build()(still belowsas_tokenandaccount_key) so Azure CLI cannot shadow explicitly configured Service Principal credentials.core/Cargo.lockandbindings/ruby/Cargo.lock.TokioCommandExecuteexecution through each service's signing context,disable_config_loadisolation fors3,gcs, andgcs-grpc,AssumeRolecontext inheritance ins3, and explicit Service Principal precedence inazblob,azdls, andazfile.Are there any user-facing changes?
Yes. On non-
wasm32targets,s3,azblob,azdls,azfile,gcs, andgcs-grpcnow supportreqsign's command-backed credential providers (credential_process, Azure CLI, and GCP executable external-account credentials) out of the box when configuration loading is enabled.Breaking changes
AI Usage Statement
reqsign-command-execute-tokiowiring, Azure Service Principal provider precedence fix, lockfile updates, and unit tests across the six services, and ran local formatting, lint, test, rustdoc, license, andwasm32checks. Verification used local deterministic credential scripts rather than live cloud provider endpoints; live AWS/Azure/GCP CLI integration remains covered by upstreamreqsignbehavior and service-specific CI.