I'm using azure cli from the windows terminal azure cloud shell.
I expect az keyvault secret list --vault-name myKeyVaultName
to list all the secrets in my vault
but it only shows me a black screen.
What am I doing wrong? Any Suggestions?
I ran into the exact same error a few days ago with az keyvault secret list
, and tried running the command with the --debug
parameter:
az keyvault secret list --vault-name <key-vault-name> --debug
Also refreshed my credentials by running az login
again but no luck. After some troubleshooting and looking through logs, I realized I had passed the incorrect vault name in the command.
A similar issue on GitHub also mentions that this error can surface in case of an incorrect key vault name as the error message calls out. If none of these help, you can open a new bug report with the Azure/azure-cli repo with the error details.