Azure/azure-storage-cpp

How to authenticate an application running on azure VM to access azure storage.

chuyiwtree opened this issue · 3 comments

Does the azure cpp storage sdk supports using DefaultAzureCredential (as in python sdk) method of authentication?
How do we authenticate an application running on azure VM to access azure storage, if passing account key or token is not an option?

Thanks!
Chuyi

Hi @chuyiwtree , I'm not familiar with that in python sdk. Can you elaborate?

Hi @chuyiwtree , this sdk doesn't support all the auth methods of DefaultAzureCredential. It only supports bearer token credential now, and you'll have to refresh the token before it expires by yourself.

Since this sdk is going to be deprecated in favor of Track2 storage sdk, you might want to request this feature in track2 identity sdk. Azure/azure-sdk-for-cpp#5