Skip to content

Use DefaultAzureCredential by default for Azure file system#20996

Merged
electrum merged 1 commit into
trinodb:masterfrom
electrum:azure-auth
Mar 9, 2024
Merged

Use DefaultAzureCredential by default for Azure file system#20996
electrum merged 1 commit into
trinodb:masterfrom
electrum:azure-auth

Conversation

@electrum
Copy link
Copy Markdown
Member

@electrum electrum commented Mar 8, 2024

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@electrum electrum requested a review from dain March 8, 2024 20:54
@cla-bot cla-bot Bot added the cla-signed label Mar 8, 2024
public class AzureAuthDefault
implements AzureAuth
{
private final TokenCredential credential = new DefaultAzureCredentialBuilder().build();
Copy link
Copy Markdown
Contributor

@findinpath findinpath Mar 8, 2024

Choose a reason for hiding this comment

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

How can this auth be tested in the integration tests?
Or is it more a convenience method for local testing while doing az login ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is for parity with S3 DefaultCredentialsProvider, so that Azure can be enabled by default. I don't think we need to test, since that would be testing the Azure SDK rather than our code.

@electrum electrum merged commit dd6f6ce into trinodb:master Mar 9, 2024
@electrum electrum deleted the azure-auth branch March 9, 2024 22:10
@github-actions github-actions Bot added this to the 441 milestone Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants