Skip to content

fix: add default credential for MI #85

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

Merged
merged 5 commits into from
Jan 22, 2025

Conversation

hallvictoria
Copy link
Contributor

@hallvictoria hallvictoria commented Nov 20, 2024

If Managed Identity is used, a credential is required to authenticate the request. This change adds a DefaultAzureCredential to authenticate creation of the BlobServiceClient. There is no change if Managed Identity is not used.

Fixes: Azure/azure-functions-python-worker#1603

@hallvictoria hallvictoria marked this pull request as ready for review January 21, 2025 16:24
@hallvictoria hallvictoria merged commit 959563a into dev Jan 22, 2025
31 checks passed
@hallvictoria hallvictoria deleted the hallvictoria/default-credential branch January 22, 2025 16: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.

[Bug] Blob trigger uses incorrect authentication method
2 participants