Function minerva_data::mongo::build_client_string
source · [−]Expand description
Generates a string to connect to MongoDB, given a server endpoint (e.g.
localhost:27017
). This function assumes that MongoDB was configured with
the credentials of a user root
with password mongo
.
TODO
The default configuration for user and password could open a security hole if not accessing a database spawned using Docker Compose or Kubernetes. Consider changing this on the future.