Comments (6)
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
from mongo-migrate.
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.
from mongo-migrate.
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
from mongo-migrate.
i've implemented auth and externalized credentials in the config. i'll get the changes together and issue the pull request.
from mongo-migrate.
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.
from mongo-migrate.
Thanks @jbrechtel. Resolved with #16
from mongo-migrate.
Related Issues (20)
- Dry run HOT 1
- verror is not defined HOT 4
- migrate on heroku (and mongoLab) HOT 2
- Please push 1.2.1 to npm HOT 1
- Replica sets in mongodb > 2.0 HOT 4
- The command name is `mongo-migrate`, not `node mongodb-migrate` HOT 2
- Error: collection name must be a String HOT 1
- Ignore subdirectories when looking for migrations
- requiring mongodb in migrations HOT 1
- Bin do not work because of windows line ending format HOT 1
- Migration is only updating first record in a collection HOT 1
- Collection Undefined on a Simple Migration HOT 3
- Support for ssl connections
- Migration method "run()", pass revision number
- TypeError: db.Collection is not a function HOT 1
- Change default hard-coded collection to user input to track migrations
- Can't launch migrations inside Docker
- Is project still maintained?
- change of value is NOT working
- Maintenance issue advisories/1203
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-migrate.