> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Kafka user credentials

> Returns the Kafka user's password, which lets the caller act as that user, so kafka_users:read grants read access to all replicated data. Returns 409 while its password isn't ready yet or the user is being deleted; a pending user becomes active once its password is ready. Producer/consumer users can read every topic under the company's prefix, which includes all data Artie replicates, and write to topics under the company's customer prefix. Admin-profile users are managed under /admin-users.

`GET /kafka-clusters/{uuid}/users/{userUUID}/credentials`

## Authorization

* `Authorization` (header): API key passed as a Bearer token in the Authorization header.

## Path parameters

* `userUUID` (string, required)
* `uuid` (string, required)

## Example request

```bash
curl --request GET \
  --url https://api.artie.com/kafka-clusters/{uuid}/users/{userUUID}/credentials \
  --header 'Authorization: Bearer <token>'
```

## Responses

### 200 OK

* `kafkaUser` (object, required)
  * `accessProfile` (string, required)
  * `consumerGroupPrefix` (string, required)
  * `createdAt` (string<date-time>, required)
  * `status` (string, required)
  * `username` (string, required)
  * `uuid` (string<uuid>, required)
* `password` (string, required)

```json
{
  "kafkaUser": {
    "accessProfile": "<string>",
    "consumerGroupPrefix": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "username": "<string>",
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "password": "<string>"
}
```

### 400 Bad Request

### 404 Not Found

### 409 Conflict

### 500 Internal Server Error