Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant