Open ksstott opened 2 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Wmengmsft, @MehaKaushik, @anfeldma-ms, @AverageDesigner.
Author: | ksstott |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `Cosmos`, `customer-reported` |
Milestone: | - |
route to service team
@ksstott, disableLocalAuth is not yet supported in Azure CLI. We will added this in a future CLI version. It is supported in our Rest API / ARM templates using API version 2021-06-15. The Rest API documentation will be updated to reflect the changes made in 2021-06-15 and later.
Any update on this one? It would be useful to have in az cli
Any update on this?
Is your feature request related to a problem? Please describe. This documentation describes how to enforce RBAC authentication on a cosmos account. However while the cli will allow you to view the value of this property via
az cosmosdb show
andaz cosmosdb list
there is no way to set or update this value via the cli during account creation or updateDescribe the solution you'd like Add command switches to allow this property to be set during update and creation.
az cosmosdb create ... --disable-local-auth true
az cosmosdb update ... --disable-local-auth true
Describe alternatives you've considered
Additional context This property is also not exposed via the REST API however playing around with the REST api it appears that it is returned by the
GET
endpoint and can be updated (at least via thePATCH
endpoint when I tried it)I assume that this is also a bug/feature request with the REST API but I do not know how to raise an issue on that.