Skip to content

ADLSFileIO: support service principal authentication - #13829

Closed
kevinjqliu wants to merge 4 commits into
apache:mainfrom
kevinjqliu:kevinjqliu/service-principals
Closed

kevinjqliu wants to merge 4 commits into
apache:mainfrom
kevinjqliu:kevinjqliu/service-principals

Conversation

@kevinjqliu

Copy link
Copy Markdown
Contributor

Closes #13819

Add adls.tenant-id, adls.client-id, and adls.client-secret as configuration properties for ADLSFileIO.
These are passed to the DataLakeFileSystemClient builder using ClientSecretCredential from the Azure Identity SDK:

TokenCredential credential = new ClientSecretCredentialBuilder()
    .tenantId(conf.get("adls.tenant-id"))
    .clientId(conf.get("adls.client-id"))
    .clientSecret(conf.get("adls.client-secret"))
    .build();

This credential would then be passed into the DataLakeFileSystemClientBuilder instead of DefaultAzureCredential.

This PR needs to rebase #13825

@github-actions github-actions Bot added the AZURE label Aug 15, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions

Copy link
Copy Markdown

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions Bot closed this Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Support Explicit tenantId, clientId, and clientSecret Configuration in ADLSFileIO

1 participant