-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Description
I'm writing a script that needs to handle az login expiration. To test it, I have to be able to tell az login to expire after a certain amount of time. I don't want to az logout. I want the az to be cached, just expired.
Is there a way to do that or hack something to mimic that behavior?
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)