Answer the question
In order to leave comments, you need to log in
How to store the database password?
Good afternoon.
In some article on Habré about NodeJS, I saw that you should not store data for connecting to the database in configs and somewhere else.
How then to do it?
Answer the question
In order to leave comments, you need to log in
worth it or not depends primarily on the requirements for safety and the criticality of the loss.
do not want / can store in the config? no question:
there are environment variables;
there is a system storage of passwords in almost any system;
there are specialized vault storages;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question