Need password authentication for mongodb

where i can change default mongodb conection with user password mongodb conection?

Please refer to the documentation

On the Genieacs env, just set it like this GENIEACS_MONGODB_CONNECTION_URL=mongodb://user:password@127.0.0.1/genieacs

2 Likes

thank you, where is this config file location?

db.config

1 Like

cat /opt/genieacs/genieacs.env - will have all the environmental variables defined.

db.config.find() - will give you all the configuration present in the ACS for a device.

1 Like