Configure least privileged database users (MongoDB)

Current version: 9.2

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


Deployment Management Actions


Replication Actions

Sharding Actions

Server Administration Actions


Session Actions


Diagnostic Actions

listIndexes; listCollections

Do you have some feedback for us?

If you have suggestions for improving this article,