Configure least privileged database users (MongoDB)

Abstract

Overview of the MongoDB Sitecore xDB Collection database privileges used to limit user access.

Note

MongoDB is not supported in version 10.1 and later.

It is recommended that you create user with limited privileges to access the MongoDB xDB Collection database. The following table lists the required privileges:

Privilege Sections

Privilege Actions

Query and Write Actions

find; insert; remove; update

Database Management Actions

createIndex

Deployment Management Actions

-

Replication Actions

Sharding Actions

Server Administration Actions

-

Session Actions

-

Diagnostic Actions

listIndexes; listCollections