azure-identity · PyPI
pypi.org › project › azure-identityNov 09, 2021 · When no default browser is available, az login will use the device code authentication flow. This can also be selected manually by running az login --use-device-code. Key concepts Credentials. A credential is a class which contains or can obtain the data needed for a service client to authenticate requests.
opencensus-ext-azure · PyPI
pypi.org › project › opencensus-ext-azureOct 04, 2021 · Log. The Azure Monitor Log Handler allows you to export Python logs to Azure Monitor.. This example shows how to send a warning level log to Azure Monitor. import logging from opencensus.ext.azure.log_exporter import AzureLogHandler logger = logging. getLogger (__name__) logger. addHandler (AzureLogHandler (connection_string = 'InstrumentationKey=<your-instrumentation_key-here>')) logger ...