Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support standard Azure Function configuration options for managed identity #433

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sebastianburckhardt
Copy link
Member

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, and AzureWebJobsStorage__clientId, and the Event Hubs namespace can be configured by defining EventHubsConnection__fullyQualifiedNamespace, EventHubsConnection__credential, and EventHubsConnection__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:

  • run basic smoke tests for local and cloud deployment
  • need documentation and perhaps a sample
  • need to test runtime scaling

…ration section, and replace most Azure Storage SDK V11 references with the V12 equivalents.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 Priority 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant