Enable OAuth for CosmosDB resources using Azure CLI for logging in. To use OAuth to authenticate
Download Azure CLI
Login via Azure CLI
Add the path to Azure CLI install location to the setting.
Restart the extension
The master key will still be used if the user is able to list it. Those who want to only give OAuth access to the resources will need to configure the permission to prevent listing master keys.
This PR was created when I don't have access to the main repository. Now I does and I have stopped working on my fork. I'll abandon this one and create a separate PR in the main repo to solve this problem.
Enable OAuth for CosmosDB resources using Azure CLI for logging in. To use OAuth to authenticate
The master key will still be used if the user is able to list it. Those who want to only give OAuth access to the resources will need to configure the permission to prevent listing master keys.