Closed acalbazana closed 10 years ago
Sorry but I don't believe that functionality exists yet for mongo-migrate... If you'd like to add it and issue a pull request I can include it. I would suggest adding username & password fields to the config file that's read in, then after the db connection is created if those config parameters exist then attempt to authenticate. If I get a chance I could add it, but it would be a while
Guys, don't you use this useful module in production? How do you deal without ability to make migration with authentication?
I don'y think this issued should be in a closed state.
It is used in production... However, our network is set up such that all the servers are behind the same firewall and security rules so authentication is unnecessary. I will re-open it until either I code it myself or someone issues a pull request. It really would not be that difficult to add it if someone were to truly want it
i've implemented auth and externalized credentials in the config. i'll get the changes together and issue the pull request.
I missed this issue when submitting my pull request. But there's a pull request out there from me now with very basic authentication support.
It's issue #16
The support is very basic but it's enough for my purposes at the moment. Can we get it merged in or get some feedback on it? I'm happy to make changes.
Thanks @jbrechtel. Resolved with https://github.com/afloyd/mongo-migrate/pull/16
Is it possible to specify authentication info in the db config? I need to supply credentials and don't see a clear way on how to set this up.