Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FEATURE REQ] Managed Identity support for Backends

Aperta
#725 4 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
azure, csharp

Direzione di ricerca

Inizia tracciando come vengono estratti gli artefatti del backend e come backendInformation.json serializza le credenziali; nell’issue non sono identificati file sorgente né test. Confronta i campi di Azure Managed Identity mostrati nel portale con lo schema degli artefatti, concorda poi con i maintainer se usare resourceId o scope e verifica che la configurazione scelta sia inclusa negli artefatti estratti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Please describe the feature.

In the Azure Portal I configured my backend credentials using a Managed Identity like this:

backend_screenshot

When I extract the artifacts, the managed identity configuration is not included in the backendInformation.json file:

{
  "properties": {
    "credentials": {
      "header": {},
      "query": {}
    },
    "protocol": "http",
    "tls": {
      "validateCertificateChain": true,
      "validateCertificateName": true
    },
    "url": "https://test.com"
  }
}

Would credentials be the place to store the managed identity properties?
For example:

{
  "properties": {
    "credentials": {
      "managedIdentity": {
         "clientId":"my-managed-identity-client-id",
         "resourceId":"api://example-scope", // I used the name from the portal as a property name, which makes sense for Azure resource backends (e.g. Service Bus, Key Vault, etc), but from an app reg OAuth perspective the name "scope" would be better suited in my opinion
      },
    },
    "protocol": "http",
    "tls": {
      "validateCertificateChain": true,
      "validateCertificateName": true
    },
    "url": "https://test.com"
  }
}

I am open to contributing it myself if the maintainers find it a good idea and we can agree on the implementation details before I start developing.

Lingua principale
C#
Stelle
449
Fork
248
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/apiops

Tutte le issue di Azure/apiops

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.