Database Cluster
Get database cluster credentials
Changed onThis API gets the credentials for the database cluster specified by the name and namespace.
get/namespaces/{namespace}/database-clusters/{name}/credentials
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"connectionUrl": "postgres://user:secret@100.100.100.100:5432",
"username": "root",
"password": "root"
}Changes
- info
added the optional property
to the response with the status
- info
- info
api tag
Database Clusteradded - info
api tag
databaseClusterremoved
- info