'How to store/create a MongoDB config file for production

I'm currently working on a bachelors project using the MERN stack.

As of now I have a dbconfig file which stores the mongodb passcode.

My question is how should I go about this when delivering the project to the business? Should it be stated that they must create this file themselves and enter their passcode there? Is it my responsibility to help them set this up, even though this could compromise security if lets say I had malicious intentions?

Or should I implement a system with for example a prompt letting them input this on runtime?

I'm not looking for exact answers, but any pointers from someone with experience delivering products or alike would be greatly appriciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source