Tag Archives: RevokeRoles in MongoDB

Securing MongoDB – User Administration

The db.createUser(user, writeConcern) method used to create users.We need to provide the username, password and roles The definition of createUser as follows { user: “<name>”, pwd: “password>”, customData: { <User Tag> }, roles: [ { role: “<role>”, db: “<database>” }, { … Continue reading

Posted in MongoDB | Tagged , , , , | Leave a comment