Support standard Azure Function configuration options for managed identity#433
Merged
sebastianburckhardt merged 3 commits intomainfrom Jan 14, 2025
Merged
Support standard Azure Function configuration options for managed identity#433sebastianburckhardt merged 3 commits intomainfrom
sebastianburckhardt merged 3 commits intomainfrom
Conversation
…ration section, and replace most Azure Storage SDK V11 references with the V12 equivalents.
Member
Author
|
Since we are doing a major version release for 3.0.0, I have spent a bit more time on this PR in order to remove all dependencies on the old Microsoft.Azure.Storage.Blob. This required copying some utility code for validation and for connection string parsing which is no longer present in the new storage SDK. |
cgillum
approved these changes
Jan 11, 2025
Member
Author
|
remaining work items are tracked in #441 |
This was referenced Nov 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for configuring Managed Identity using the same configuration-section based approach that is used for other Azure Functions extensions. This makes it simpler to configure MI for .NET apps, and possible to configure it for all AF apps.
For example, Azure Storage can be configured by defining
AzureWebJobsStorage__accountName,AzureWebJobsStorage__credential, andAzureWebJobsStorage__clientId, and the Event Hubs namespace can be configured by definingEventHubsConnection__fullyQualifiedNamespace,EventHubsConnection__credential, andEventHubsConnection__clientId.To avoid dealing with legacy credential types, this PR also replaces most remaining uses of the Microsoft.Azure.Storage.* (V11) SDKs with the Azure.Storage.* (V12) equivalents. Since this is not a major version bump, it does not remove the actual package dependency. Also, a few utility functions (name validation and connection string parsing) still depend on V11 since there is no equivalent in V12.
Remaining work: