Skip to content

feat(azure-storage): add missing setters for client secret and workload identity providers#760

Merged
Xuanwo merged 1 commit into
apache:mainfrom
YuangGao:feat/azure-storage-builder-apis
May 28, 2026
Merged

feat(azure-storage): add missing setters for client secret and workload identity providers#760
Xuanwo merged 1 commit into
apache:mainfrom
YuangGao:feat/azure-storage-builder-apis

Conversation

@YuangGao
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

ClientSecretCredentialProvider:

  • Add client_secret and authority_host fields with corresponding setters.
  • provide_credential now reads self.client_id / self.client_secret / self.authority_host first, falling back to AZURE_CLIENT_ID / AZURE_CLIENT_SECRET / AZURE_AUTHORITY_HOST. Fixes with_client_id being a silent no-op.

WorkloadIdentityCredentialProvider:

  • Add client_id, federated_token_file, and authority_host fields with corresponding setters.
  • provide_credential now reads each from self first, falling back to env vars. Fixes with_tenant_id being a silent no-op

@YuangGao YuangGao changed the title feat(azure-storage): add missing setters for client secret and worklo… feat(azure-storage): add missing setters for client secret and workload identity providers May 23, 2026
@YuangGao YuangGao marked this pull request as ready for review May 23, 2026 04:13
@Xuanwo Xuanwo merged commit 54a4d10 into apache:main May 28, 2026
48 checks passed
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.

(azure-storage): wire builder methods through credential providers

2 participants