Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account name and key combination doesn't work. #7396

Closed
jackchenwork opened this issue Sep 22, 2018 — with docs.microsoft.com · 2 comments
Closed

account name and key combination doesn't work. #7396

jackchenwork opened this issue Sep 22, 2018 — with docs.microsoft.com · 2 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Service Attention This issue is responsible by Azure service team.

Comments

Copy link

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.

@tjprescott tjprescott added bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB az cosmosdb labels Sep 24, 2018
@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
@shurd
Copy link
Contributor

shurd commented Jun 5, 2019

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
Copy link
Contributor

shurd commented Jun 6, 2019

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

@haroldrandom haroldrandom added bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB Service Attention This issue is responsible by Azure service team. labels Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

5 participants