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"
}

Changes

Changed in 3 of the 50 revisions of this API.15

    • added the optional property connectionUrl to the response with the 200 status

      response-optional-property-added

    • api tag Database Cluster added

      api-tag-added

    • api tag databaseCluster removed

      api-tag-removed

  • dec31e5eea8e12See the full diff
    • removed the optional property connectionUrl from the response with the 200 status

      response-optional-property-removed

    • api tag databaseCluster added

      api-tag-added

    • api tag Database Cluster removed

      api-tag-removed

    This revision also has 30 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog