Created
January 10, 2020 09:27
-
-
Save PatrickKalkman/90a9a2493b5e9a066161775f93736e9a to your computer and use it in GitHub Desktop.
init mongo script for creating workflow engine user during startup of MongoDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.createUser({ | |
user: 'mve-workflowengine', | |
pwd: 'mve-workflowengine-password', | |
roles: [ | |
{ | |
role: 'readWrite', | |
db: 'workflow-db', | |
}, | |
], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment