How to use AzureCliCredential in a Container

Опубликовано: 30 Октябрь 2024
на канале: Jon Gallant
1,857
20

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