Connecting to Azure Blob Storage
I am in progress of transitioning from Visual Studio to Rider…
My code runs a service in Docker and currently creates a connection to a Azure Blob Storage account using a VisualStudioCredential when debugging…this all works fine.
To use this in Rider, I need to change it use a different credential for obvious reasons, however I am not sure which one as neither of the Azure CLI credentials are working. They are both reporting an error that the CLI is not installed.
I have signed in to the Azure Toolkit, does anyone have any suggestions short of using azurite
Please sign in to leave a comment.
Hello,
Thanks for contacting Rider support.
How you configure the authentication depends on the supported ways by Azure SDK, not Rider. This information can be found in Microsoft documentation:
In this case, using Azure CLI credential is recommended. Note, I would suggest using DefaultAzureCredential in code as it will automatically detect available credential, thus you don't have to update code if you'd like to switch between Rider and VS, or deploy to Azure.
Regards,
Tom