Skip to content

Commit c6da0c7

Browse files
authored
Added the cli command to disable the key via sdk
1 parent 34f28b7 commit c6da0c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/cosmos-db/role-based-access-control.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ The Cosmos resource provider can be locked down to prevent any changes to resour
5656
}
5757
}
5858
}
59+
```
60+
Simple way to update this seeting is to use Azure CLI. If you are doing an ARM deployment. Those are complete replacements, so if all values are not included, they will be reset to default.
61+
62+
```cli
63+
az cosmosdb update --name CosmosDBAccountName --resource-group ResourceGroupName --disable-key-based-metadata-write-access true
64+
5965
```
6066

6167
## Next steps

0 commit comments

Comments
 (0)