Using Managed Identity in container workloads
See original GitHub issueQuery/Question We are looking to add support for Managed Identity (MI), previously known as Managed Service Identity (MSI), to our application which is running in a Linux container.
As it will be hosted on Kubernetes, we’ll use AAD Pod Identity.
However, it’s not clear how we should approach this with the current version of the library.
FromMSI
requires us to pass MSIResourceType
via MSILoginInformation
but it only allows us to specify App Service & Virtual Machines, same for FromSystemAssignedManagedServiceIdentity
& FromUserAssigedManagedServiceIdentity
.
Is there a way to implement this or is it not supported yet?
Why is this not a Bug or a feature Request? I’m merely looking how to approach Managed Identity authentication.
Setup (please complete the following information if applicable):
- OS: Linux
- IDE : Visual Studio
- Version of the Library used: 1.30.0
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Query Added
- Setup information Added (N/A)
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (9 by maintainers)
Top GitHub Comments
Any updates on this issue? It’s a bit of a mess needing to mix and match both a systemassigned identities and service principal simply because the client library is behind.
@tomkerkhove yes, also if it’s convenient for you to use Azure CLI, the managed identities for AKS can be accessed via Azure CLI commands (https://docs.microsoft.com/en-us/azure/aks/use-managed-identity) as previously mentioned