Skip to content

feat(services/azdls): support custom credential providers - #8030

Open
zakariya-s wants to merge 2 commits into
apache:mainfrom
zakariya-s:feat/azdls-custom-credential-providers
Open

feat(services/azdls): support custom credential providers#8030
zakariya-s wants to merge 2 commits into
apache:mainfrom
zakariya-s:feat/azdls-custom-credential-providers

Conversation

@zakariya-s

@zakariya-s zakariya-s commented Aug 5, 2026

Copy link
Copy Markdown

Which issue does this PR close?

Closes #8029.

Rationale for this change

Azdls currently builds its credential chain from configured static credentials and reqsign’s default Azure providers. Applications that load credentials dynamically cannot inject a credential provider into a long-lived Azdls operator.

What changes are included in this PR?

Add credential_provider and credential_provider_chain to AzdlsBuilder.

For proper SAS cred rotation (to support refreshing creds, for example in iceberg-rust which was the motivation for this PR: apache/iceberg-rust#2932), this relies on apache/opendal-reqsign#803, but there has not yet been a new release of reqsign including the change. This PR should still be independent of a new release of reqsign.

For expiry-aware SAS rotation, this complements apache/opendal-reqsign#803, which is available in reqsign-azure-storage 3.2.0. The provider-injection API itself remains compatible with OpenDAL’s existing minimum reqsign dependency.

Are there any user-facing changes?

Yes, Azdls users can now supply custom reqsign credential providers and provider chains.

No breaking changes.

AI Usage Statement

@zakariya-s
zakariya-s requested a review from Xuanwo as a code owner August 5, 2026 16:39
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels Aug 5, 2026
@zakariya-s

zakariya-s commented Aug 7, 2026

Copy link
Copy Markdown
Author

Hi @Xuanwo! Could I get a review for this please? It's hopefully the only prerequisite for Azure refreshing vended credential support in iceberg-rust. Currently we can only support S3 and GCS through OpenDAL

@Xuanwo Xuanwo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other changes LGTM

Comment thread core/services/azdls/src/backend.rs Outdated
@zakariya-s
zakariya-s requested a review from Xuanwo August 7, 2026 14:54
@zakariya-s

Copy link
Copy Markdown
Author

flaky existing test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new feature: support custom credential providers in Azdls

2 participants