account name and key combination doesn't work.
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.
- ID: abc8d652-2eda-296f-28ea-8d5f1ea855b3
- Version Independent ID: 80b87995-d339-61e9-1cac-b5c9ad6efe5e
- Content: az cosmosdb
- Content Source: src/command_modules/azure-cli-cosmosdb/azure/cli/command_modules/cosmosdb/_help.py
- Service: cosmos-db
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
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
@tjprescott Can we close this issue? It was a duplicate of #6770