Skip to content

Commit 7364adf

Browse files
Merge pull request #275090 from diberry/diberry/0510-az-cli-fix
Storage - JS - fix az cli command
2 parents ee8683c + 8932e28 commit 7364adf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/storage/blobs/blob-upload-function-trigger-javascript.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,10 @@ Get the connection string for the Cosmos DB service account to use in our Azure
299299
3. Get the connection string using the command below for later use in the tutorial.
300300
301301
```azurecli-interactive
302-
az cosmosdb list-connection-strings
303-
--name msdocscosmosdb
304-
--resource-group msdocs-storage-function
302+
az cosmosdb keys list \
303+
--name msdocscosmosdb \
304+
--resource-group msdocs-storage-function \
305+
--type connection-strings
305306
```
306307
307308
This returns a JSON array of two read-write connection strings, and two read-only connection strings.

0 commit comments

Comments
 (0)