Enforcing RBAC as the only authentication method in Cosmos DB

Sai Praneeth Eranti 150 Reputation points
2024-04-11T12:36:35.89+00:00

Hello ,

How can I enforce Role-Based Access Control (RBAC) as the only authentication method in Cosmos DB? I received this recommendation on one of my Cosmos accounts last year, and I would like to know if there are any Microsoft documentation resources that I can use to enforce this. Is disabling LocalAuth sufficient to enforce RBAC, and is this still a recommended practice?

User's image

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 28,142 Reputation points Microsoft Employee
    2024-04-11T14:24:09.6166667+00:00

    Hi,@Sai Praneeth Eranti Thanks for posting your question in the Microsoft Q&A forum.

    Here is the documentation on enforcing role-based access control as the only authentication method

    https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#disable-local-auth

    User's image

    Regards

    Geetha


0 additional answers

Sort by: Most helpful