Allow the AzureServiceTokenProvider class to work its magic inside a container instance. That is:
- allow us to define a 'container application' that automatically registers as an AAD principal.
- a container instances can then belong to an application
- define the MSI_ENDPOINT and MSI_SECRET environment variables for the running instance, allowing it to automatically authenticate as the application principal.
This is now supported for Linux containers with Windows support on the roadmap – read more at aka.ms/aci/msi
Daniel Earwicker commented
Am now using this in production, works great.