v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
Database Cluster

Get database cluster credentials

This API gets the credentials for the database cluster specified by the name and namespace.

get/namespaces/{namespace}/database-clusters/{name}/credentials

Path parameters

namespacestring required

Name of the namespace

namestring required

Name of the database cluster. Can be found under Metadata["name"] of the DatabaseCluster object.

Response

Successful operation

connectionUrlstring
usernamestring
passwordstring

Example response

{
  "connectionUrl": "postgres://user:secret@100.100.100.100:5432",
  "username": "root",
  "password": "root"
}