Weird error on login - 'dict' object cannot be interpreted as an integer #2800
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
CLI Version: What version of the CLI and modules are installed? (Use
OS Version: What OS and version are you using?
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Hi, I could reproduce this...
A last note: the file .azure/accessTokens.json holds the credentials in clear, that is how it is supposed to be? I mean, it has just read permissions for my user, but seems to be a security risk. The Azure CLI uses this to re-validate the session or something?
We cache the SP secret, because the token issued for SP carries no refresh token. It is not reasonable for CLI to prompt you for creds every one hour, and actually it is not even possible as the token can expire in the middle of the command session.