Reputation: 1294
Platform: MacOS Sierra
Version: Azure CLI 2.0
Mode: ARM
I'm trying to access file storage with below command:
az storage file list --share-name $SHARE_NAME --account-name $ACCT_NAME --account-key $ACCT_KEY
But I always get ConnectionError
. I also tried other file storage command, same error all the time. Tried to search online, didn't find anything.
Can anyone help?
Answers to those who asked for the "full message" of the error. "ConnectionError" is ALL the error message the Azure CLI gave me. nothing more.
Upvotes: 1
Views: 344
Reputation: 124
You can run the command with the --debug flag to get additional diagnostics information. Furthermore, you can add an issue at https://github.com/azure-azure-cli/issues to see if the product team/contributors can further help out...
Please note that some of the information displayed in the --debug trace output contains secrets (in your case, the account key), so don't blindly include it in a post on a public forum (i.e. stackoverflow or in the github issue)
Upvotes: 1