Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chuyiwtree opened this issue Feb 8, 2021 · 3 comments

Comments

@chuyiwtree
Copy link

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

@Jinming-Hu
Copy link
Member

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

@chuyiwtree
Copy link
Author

@Jinming-Hu
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants