microsoft / microsoft/DurableFunctionsMonitor

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.

Needs: Triage :mag:
Dominant language
TypeScript
Stars
290
Forks
46
Avg merge
6m
Merged PRs (30d)
1

Description

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

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.