In the Azure .NET packages, we have the ability to make use of existing Visual Studio Azure creds or Azure CLI creds for local development as part of the connection string available in the AzureServiceTokenProvider instead of setting up the environment variables or dealing with service principal secrets. Is there a possibility of setting something similar up for the Node package as well as part of the DefaultAzureCredential to look for existing creds available on the machine.
I believe this feature is available in the latest preview version of the @azure/identity package. Please try version 1.1.0-preview.4 or higher.
cc @sadasant to correct me if I got the above wrong
@ramya-rao-a - You're right. The latest preview allows you to use your Azure CLI or your VS Code (Azure Account extension) credentials.
@karthikm249 - If you run DefaultAzureCredentials using one of these preview versions, it should automatically pick up the local credentials, without any additional configuration required in your code.
Thanks @jonathandturner
@karthikm249 Please try out the previews and share any feedback you have