Aller au contenu principal

Connection details and credentials

An owner/admin can read a database’s connection details while it is active or paused. The response contains privileged credentials; treat the entire body as secret.

FieldHow to use it
host, portPublic database destination; do not substitute the API hostname
databaseNative database name; Redis URIs use database 0
username, passwordPrivileged engine credentials
connection_stringEngine URI; preserve query options and check for masking
enginepostgres, redis, or mongodb
ssl_modeDeployment-specific TLS setting; interpret with the engine URI
key_prefixRedis namespace prefix; add it to every native-client key

For normal application traffic, create an application user and combine its returned username/password with these public destination settings. PostgreSQL user-creation responses can contain masked URIs, and other user URI destinations may differ from the connection panel. The connection-details endpoint is the destination reference.

A URI containing **** is display text, not a usable credential. If a custom password contains URI-reserved characters, use driver parameters or encode the username/password components when constructing a URI. Do not blindly encode the whole URI.

TLS availability and mode depend on deployment. A PostgreSQL prefer value can allow a non-TLS connection; redis:// is different from rediss://; MongoDB TLS is controlled by its options. Confirm required encryption and certificate verification before production use. See network and TLS.

Choose a working example: PostgreSQL, Redis, MongoDB. API contract: connection details.