Limit MongoDB users to specific database
complete
W
Whitney Jutzin
marked this post as
complete
Hello everyone! Happy to announce that DigitalOcean now supports per-database Mongo RBAC in the API: https://www.digitalocean.com/blog/rbac-and-predefined-roles-for-mongodb
For more references on how to use this, see:
https://docs.digitalocean.com/products/databases/#7-may-2025
https://docs.digitalocean.com/reference/api/digitalocean/#tag/Databases/operation/databases_add_user
The new roles include Admin, Read/Write, and Read-Only. Please reach out via our support
D
Daniel Weinshenker
Hello everyone! Happy to announce that DigitalOcean now supports per-database Mongo RBAC in the API: https://www.digitalocean.com/blog/rbac-and-predefined-roles-for-mongodb
For more references on how to use this, see:
- https://docs.digitalocean.com/products/databases/#7-may-2025
- https://docs.digitalocean.com/reference/api/digitalocean/#tag/Databases/operation/databases_add_user
The new roles include Admin, Read/Write, and Read-Only