Reputation: 4289
I am using the Azure CLI (2.0 python version) on Windows. When I login like this:
az login
It opens a browser window and logs in interactively, passing back tokens to the still running CLI process. According to the docs those temporary access tokens are stored locally somewhere, as they remain available for a while later, after the process has closed - where are the tokens stored?
Upvotes: 0
Views: 736
Reputation: 28264
where are the tokens stored?
You can find the accessTokens.json file in the folder named .azure folder in the user profile.
Also, you can rename this file before you login it again to verify it.
Upvotes: 1