[B006] Service Principal FIC supports
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 32/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- azure, csharp
- Área
- authentication, cli
Línea de trabajo
Start from the login command's --service-principal option handling and find where the client secret or certificate is turned into a credential before the tenant and client id are used. That is where a --federated-token option would be parsed and passed to a client-assertion-style credential; check whether the MSAL (or equivalent) dependency already exposes federated/workload-identity auth. Done means the flag is accepted, documented and covered by a test asserting the token is used instead of a secret.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Target surface
Both
What problem are you trying to solve?
not sure if it's a valid scenario for azclips.
When signing as a service principal, except "client secret" and "client certificate", it can also configure a FIC
an example scenario is:
- an AAD app, with permission a to sub, and congiured FIC to trust a managed identity
- a managed identity, w/o any permission, but assigned to a VM/container
- when the app (azclips here) runs in the VM/container, it can receive a token from the managed identity, then use that token to authenticate as the service principal
- Azclips can act as the service principal's identity
Proposed solution
when authenticating, the client id is the service principal's id, but the federated-token is issued by the managed identity
"$AZCLI" login --service-principal \
--client-id "${{ vars.AZURE_CLIENT_ID }}" \
--federated-token "${{ steps.idtoken.outputs.result }}" \
--tenant-id "${{ vars.AZURE_TENANT_ID }}" \
--subscription-id "${{ vars.AZURE_SUBSCRIPTION_ID }}"
if the underlying dependency is MSAL, it shall be already supports this scenario.
Alternatives or workarounds
No response
Additional context
No response
- Lenguaje dominante
- C#
- Estrellas
- 18
- Forks
- 10
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 157
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/azclips
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Azure/azclips#1512 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Agent] Interactive recovery runs shell commands in the install folder, not the user's folderAbiertoact-experience-enablement-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de Azure/azclips
Issues similares
-
launcher item missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Realm667/WolfenDoom#1758 ·
-
SDK version compatibility issueAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
AI documentation good first issue help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
akshit-bansal11/edgepad#106 ·
Los mantenedores suelen responder en 1 día