Optional
custom'mongodb-memory-server-root'
Optional
custommongodb-memory-server automatically creates a root user with this password
'rootuser'
Optional
enableEnable Automatic User creation
false
Optional
extraExtra Users to create besides the root user
[]
Optional
forceForce to run "createAuth"
false "createAuth" is normally only run when the given "dbPath" is empty (no files)
Optional
keyfileCustom Keyfile content to use (only has an effect in replset's) Note: This is not secure, this is for test environments only!
"0123456789"
Generated using TypeDoc
mongodb-memory-server automatically creates a root user (with "root" role)