An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
If you are running this locally, try to avoid using the shared cache. If you think of deploying this to Azure, and you want to use your own user-assigned managed identity, you can also specify the client ID of your user-assigned managed identity (after attaching it to your Azure resource which will access the Key Vault). Here's how to do both in one shot:
credential = DefaultAzureCredential(
exclude_shared_token_cache_credential=True,
managed_identity_client_id="???")