Upgrade Azure.Identity to 1.15.0+ to support environment variable credential filtering

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
azure, csharp
Domain
backend, cloud

Research direction

Open durablefunctionsmonitor.dotnetisolated.core/durablefunctionsmonitor.dotnetisolated.core.csproj and inspect its existing package references. Add or verify an explicit Azure.Identity reference at version 1.15.0 or newer; the work is done when the backend uses that version and supports the documented credential-filtering environment variables.

Written by the indexing model from the issue text.

Description

Needs: Triage :mag:

Description:

Problem

The backend's Azure.Identity dependency (1.11.4) does not support environment variables for credential exclusion (AZURE_TOKEN_CREDENTIALS, exclude_managed_identity_credential). This forces developers in restricted networking environments to either use firewall rules to block Managed identity credentials or rebuild the backend.
https://learn.microsoft.com/en-gb/dotnet/azure/sdk/authentication/credential-chains?tabs=dac#use-a-specific-credential

Solution

Add an explicit Azure.Identity 1.15.0 or newer package reference in durablefunctionsmonitor.dotnetbackend.csproj:

Benefits

  • Developers can set $env:AZURE_TOKEN_CREDENTIALS='dev' to exclude Managed Identity in local dev.
  • Developers can select credential method explicitly through environment variables
Dominant language
TypeScript
Stars
290
Forks
46
Avg merge
6m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/DurableFunctionsMonitor

All issues in microsoft/DurableFunctionsMonitor

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.