Cosmos DB security encompasses various aspects including authentication, authorization, and data encryption. This page provides an overview and guidance on securing your Cosmos DB deployments.
Cosmos DB supports various authentication methods, including:
Cosmos DB uses Role-Based Access Control (RBAC) to control access to your data. You can grant users and Azure AD groups permissions to perform actions, such as read, write, and manage. Consider utilizing Resource Manager Role (Owner, Contributor, Reader) for RBAC.
Important Note: Use the principle of least privilege – grant only the necessary permissions to users.
Cosmos DB provides transparent data encryption at rest using Microsoft Key Vault. You can also control encryption keys using Customer Managed Keys (CMK).