Relative Content

Tag Archive for pythonazureazure-identity

Persisting token/auth record cache for DeviceCodeCredentials

I have a Python program that submits pipelines to Azure ML. This code typically runs on headless Linux VMs, and authenticates with Azure using the DeviceCodeCredentials flow. I want to cache these credentials so that I can run this script many times and only have to re-authenticate every so often (e.g. every hour).