azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

account name and key combination doesn't work.

Open jackchenwork opened this issue 8 years ago • 2 comments

I am using azure-cli (2.0.45), looks like the cli allow three set of options :

az cosmosdb database list No credentials specified to access Cosmos DB service. Please provide any of the following: (1) resource group name and account name (2) account name and key (3) url-connection and key

I found only 1 and 3 work, 2 will give me a error: az cosmosdb database list --name testaccount --key 'long_key==' unsupported operand type(s) for +: 'NoneType' and 'str'

both "az cosmosdb database show" and "az cosmosdb database list" have same issue.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jackchenwork avatar Sep 22 '18 16:09 jackchenwork

Hi @jackchenquest thank you for identifying this issue. I have reverted the change that introduced the problem as a part of #7929. It should be working as of CLI version 2.0.53

shurd avatar Jun 05 '19 23:06 shurd

@tjprescott Can we close this issue? It was a duplicate of #6770

shurd avatar Jun 06 '19 16:06 shurd