![]() You could even use Open SSL to create an encoded value:ħ) In the same directory open the nf file and add the following:Ĩ) Copy the same mongokey file to the other two servers (mongodb002 mongodb003)ĩ) Repeat step 7 for the remaining two servers You may need to rename it from a text file.Ħ) Open the file and put any phrase you want for security. Roles: } )ĥ) In the C:\MongoDb\conf directory create a file called mongokey. Now that we have everything running as a replica set, I like to add at least a mongo administrator and a second user.ġ) Connect to the MongoDB server on server 1 (mongodb001) with:Ĥ) I like to add a super user to use that has access to do all functions necessary: These are the steps for creating a basic security with replica sets and Mongo administrators
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |