3 ms·
One solution is to use environment variables.
by savethefuture 8y ago
One solution is to use environment variables.
- cryptography 8y agoThat's the solution that I adhere to. But on a team with several devs, how do you prevent that from happening? Or how do you prevent yourself from accidentally(!) doing so (i.e. during the late-night coding sessions)?
- savethefuture 8y agoreview review review review review always review your code before a commit to master
- thisone 8y agoone way to prevent the accident during a downtime panic at 2am is to NEVER be in the habit of doing it anyway. If you never put credentials in your code, then even during panic mode you won't do it.