Bug: az cosmosdb list-connection-strings returns empty result
See original GitHub issueDescription
az cosmosdb list-connection-strings
returns empty result:
{
"connectionStrings": null
}
Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here:
docker
CLI Version: What version of the CLI and modules are installed? (Use az --version
)
Answer here: 2.0.17
OS Version: What OS and version are you using?
Answer here: linux
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: sh
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:12 (5 by maintainers)
Top Results From Across the Web
ListConnectionStrings cosmosDB permission - Stack Overflow
The RBAC action that provides permission for calling list connection strings is. Microsoft.DocumentDB/databaseAccounts/listConnectionStrings ...
Read more >az cosmosdb | Microsoft Learn
Returns a boolean indicating whether the database exists. az cosmosdb database list. Lists all Azure Cosmos DB databases. az cosmosdb database show. Shows...
Read more >Getting and Updating Connection Information for Azure ...
We look at how to get and update connection information for Azure Cosmos DB with PowerShell.
Read more >Overview (Azure SDK for Java Reference Documentation) - NET
az cosmosdb create \ --resource-group <resource-group-name> \ --name ... Cosmos DB Table API account az cosmosdb list-connection-strings \ --resource-group ...
Read more >azure-cli 2.5.0 - PyPI
Support az cosmosdb private-link-resource/private-endpoint-connection (#12960) ... az deployment: Fix the parse bug for comment under the last argument.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
az cosmosdb list-connection-strings
command now returns connection strings for all API types. It returns primary, primary read-only, secondary and secondary read-only@tjprescott yes, this issue can be closed