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 and az cosmosdb list there is no way to set or update this value via the cli during account creation or update
Describe 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 the PATCH 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.
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 showandaz cosmosdb listthere 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 trueaz cosmosdb update ... --disable-local-auth trueDescribe 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
GETendpoint and can be updated (at least via thePATCHendpoint 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.