mongodb - Mongoose authenticating with keyfile -


i have mongo replica set 3 members , using keyfile authorisation. using mongoose , docs not find way authenticate via keyfile.

does mongoose support ? if so, how specify keyfile while authenticating ?

you not authenticate client via keyfile. can setup ssl , use x509 authenticate. however, keyfile authentication between replication set members. authentication must create user , require authentication in mongodb config. user local database in created. x509 requires steps correlate key/cert given user.

if have no need ssl, i'd recommend creating admin user entire database, creating user database you're trying access in app.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -