---
title: "Get database cluster credentials"
method: GET
path: "/namespaces/{namespace}/database-clusters/{name}/credentials"
tags: ["Database Cluster"]
---

# Get database cluster credentials

`GET /namespaces/{namespace}/database-clusters/{name}/credentials`

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

## Path parameters

- `namespace` string, required
- `name` string, required

## Response `200`

Successful operation

- DatabaseClusterCredential — kubernetes object
  - `connectionUrl` string
  - `username` string
  - `password` string

## Other responses

- `400` — Unsuccessful operation
- `500` — Internal server error

## Changes

- **2024-09-26** `b308ab35458e` — 1 info
  - added the optional property `connectionUrl` to the response with the `200` status
- **2024-06-19** `00f3dd8cb624` — 2 info
  - api tag `Database Cluster` added
  - api tag `databaseCluster` removed
- **2024-04-12** `dec31e5eea8e` — 1 warning, 2 info
  - removed the optional property `connectionUrl` from the response with the `200` status
  - api tag `databaseCluster` added
  - api tag `Database Cluster` removed

[Change history](https://skmtc.dev/openeverest/apis/openeverest-schema/changes/namespaces/:namespace/database-clusters/:name/credentials/get.md)

---

[API](https://skmtc.dev/openeverest/apis/openeverest-schema.md) · [All operations](https://skmtc.dev/openeverest/apis/openeverest-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openeverest/openeverest-schema/revisions/46b19e13670b/schema)
