In C# I can use AzureServiceTokenProvider which allows me to access an Azure Key Vault in a number of ways. If I'm running locally it will use my credentials, if I'm running in Azure it will use MSI, it will look for environment variables, etc. It's really nice, as I don't need to write code to handle running in a variety of environments with different authentication mechanisms.
I can't seem to find something like this for node. It looks like I have to write code to do interactive login, MSI, environment variables, etc. Is there something like AzureServiceTokenProvider for node? Something that handles a variety of auth scenarios?