AzureCliCredential is a new credential type in Azure.Identity. It allows your code to use the Azure Cli to generate bearer tokens to be used by other Azure SDK clients.
Let's learn how to use it in a container.
Here's the code: https://github.com/jongio/azureclicre...
Here's a good intro to the new Azure SDKs: https://aka.ms/azsdk/intro