These are chat archives for Automattic/mongoose

3rd
Aug 2018
Nathaniel Suchy
@nsuchy
Aug 03 2018 12:40
That involves multiple environment variables
Heroku stores the entire URI as an environment variable
That approach won’t work
Kev
@lineus
Aug 03 2018 12:41
can't you store as many environment variables as you need in heroku?
Nathaniel Suchy
@nsuchy
Aug 03 2018 15:36
Yes and no
Heroku integrates with mLab
Credentials are frequently rotated
By Heroku
You’d need someone constantly checking and fixing broken credentials
That’s not a solution
The code parsing the full uri string needs to be fixed
Kev
@lineus
Aug 03 2018 15:58
@nsuchy the idea of mongoose encoding the credentials has come up in the recent past #6044 but wasn't adopted. You could add a comment there to show your support for implementing it.
Kev
@lineus
Aug 03 2018 16:07
that issue also mentions this package which might be worth a look as well