Token for Storage Account- Managed Identity
pradeepkumarms opened this issue · comments
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