Skip to content

feat: Fallback to Azure DefaultCredential - #557

Merged
zeroshade merged 3 commits into
apache:mainfrom
DataDog:anori/iceberg_go_azure_managed_identities
Sep 9, 2025
Merged

zeroshade merged 3 commits into
apache:mainfrom
DataDog:anori/iceberg_go_azure_managed_identities

Conversation

@alessandro-nori

@alessandro-nori alessandro-nori commented Sep 8, 2025 •

Copy link
Copy Markdown
Contributor

Fallback to DefaultAzureCredential when explicit credentials (shared key, SAS token, or connection string) are not provided. This enables seamless authentication in Azure environments with
configured managed identities.

This type of authentication is also used by the Java implementation and by pyiceberg (in pyarrow AzureFileSystem)

Solves #556

This PR is also fixing an incorrect parsing of container name in Azure.

@alessandro-nori
alessandro-nori marked this pull request as draft September 8, 2025 15:33
@zeroshade

Copy link
Copy Markdown
Member

Is there any way to create a test for this? I know it might be difficult to do so without an Azure account, but it would be great if we could add a test. I'm still okay with merging this if we can't figure out a test

@alessandro-nori

Copy link
Copy Markdown
Contributor Author

Is there any way to create a test for this? I know it might be difficult to do so without an Azure account, but it would be great if we could add a test. I'm still okay with merging this if we can't figure out a test

Sorry, I didn't mean to open the PR directly. We are going to run some tests internally and then I will look into adding a unit test.

@alessandro-nori
alessandro-nori force-pushed the anori/iceberg_go_azure_managed_identities branch from c09ae06 to e939c27 Compare September 9, 2025 07:35
@alessandro-nori alessandro-nori changed the title Add Azure managed identity support feat: Fallback to Azure DefaultCredential Sep 9, 2025
@alessandro-nori
alessandro-nori marked this pull request as ready for review September 9, 2025 07:41
@alessandro-nori
alessandro-nori force-pushed the anori/iceberg_go_azure_managed_identities branch from e939c27 to 4b81e80 Compare September 9, 2025 07:43
@alessandro-nori
alessandro-nori force-pushed the anori/iceberg_go_azure_managed_identities branch from 156c5bf to a7bdd92 Compare September 9, 2025 17:39
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.

2 participants