Skip to content
Advertisement

Tag: azure-cli

Authenticating Azure CLI with Python SDK

I am writing some functions to extract data from Azure. I am using the Python subprocess library with the Azure CLI commands as they are easier and better documented thank the Python SDK. My question comes whether it is possible to combine the Azure CLI commands with the Python SDK to make the authentication as the CLI uses interactive login

Advertisement