What is the recommended way to store sensitive configuration values (e.g., JWT secrets, DB passwords) in a MEAN stack production deployment?
-
A
Hard-code them in the server.js file for reliability
-
B
Store them in a .env file committed to the Git repository
-
C
Use environment variables loaded at runtime, never committed to source control
-
D
Encrypt them with MD5 and store them in the MongoDB config collection