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

Token for Storage Account- Managed Identity #1078

Open
pradeepkumarms opened this issue Dec 26, 2022 · 0 comments
Open

Token for Storage Account- Managed Identity #1078

pradeepkumarms opened this issue Dec 26, 2022 · 0 comments

Comments

@pradeepkumarms
Copy link

We are looking for an option to a get new token for each request.

Currently, if a token is issued and there are any further requests to get token till the time first token is valid, we are getting the same token that was issued earlier.

 var authResult = new DefaultAzureCredential(true).GetToken(new TokenRequestContext(
            new[] { "https://storage.azure.com/.default" })); 

We are using

Azure.Identity Version=1.5.0.0
Microsoft.Azure.Storage.Common, Version=11.2.3.0

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

1 participant