From 684a0e1af67f82a8dbb0594ecd953f93597d6251 Mon Sep 17 00:00:00 2001 From: Gio Ortiz <30304487+Gio0300@users.noreply.github.com> Date: Thu, 13 Apr 2023 13:59:07 -0400 Subject: [PATCH] add RBAC note for management operations Added a note to clarify that management operations are not available when using RBAC instead of keys. --- docs-ref-services/latest/cosmos-readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs-ref-services/latest/cosmos-readme.md b/docs-ref-services/latest/cosmos-readme.md index 8d5b10a18fa7..a2d4db378c6e 100644 --- a/docs-ref-services/latest/cosmos-readme.md +++ b/docs-ref-services/latest/cosmos-readme.md @@ -113,6 +113,9 @@ The following sections provide several code snippets covering some of the most c - [Read an item](#read-an-item) - [Delete an item](#delete-an-data) +> [!IMPORTANT] +> Management operations like creating a database or a container will not be available if role-based access control (RBAC) is used to authenticate instead of using a key as described above. For more details on using RBAC, see [Permissions model](https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#permission-model). + ### Create a database After authenticating your [CosmosClient](/javascript/api/@azure/cosmos/cosmosclient?view=azure-node-latest), you can work with any resource in the account. The code snippet below creates a SQL API database.