How to connect to managed MongoDB, Kafka or OpenSearch, and lock it down
Click View connection details to copy the server, port, username, password and a ready-made connection string, and download the CA certificate if your client needs it. Then add your servers under Trusted Sources: with none listed, any address can connect.
Applies to: managed MongoDB, Kafka and OpenSearch.
Connection details
- Open your database service and click View connection details.
- Copy the
Host, Port, Database, Username and Password, or the Connection string. OpenSearch also shows its Dashboards address. - Click Download CA certificate if your client asks for one.
- MongoDB: mongosh with the connection string, TLS on.
- Kafka: SASL_SSL, PLAIN mechanism, your username and password, trusting the CA certificate.
- OpenSearch: https with your username and password, e.g.
curl -u <user> "https://<server>:<port>/_cluster/health".
Lock it down with Trusted Sources
- Open Trusted Sources.
- Enter your server’s IPv4 address or range and click Allow address. Changes apply within a minute.
Removing the last allowed address opens the database to every address again.
New password
Regenerate password creates a new secure password and shows it in Connection details. Update your applications.
Your data
Keep your own exports of anything important, and export before cancelling: the cluster is deleted with the service.