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

# List Credentials

List credentials associated with a target.

## **GET** `/credentials/target/:target/:target_id`

### Path Parameters

| Parameter   | Type   | Required | Description                              |
| :---------- | :----- | :------- | :--------------------------------------- |
| `target`    | string | Yes      | Resource type: `org`, `blob`, or `user`. |
| `target_id` | string | Yes      | The unique ID of the target resource.    |

### Response

| Parameter     | Type  | Description                            |
| :------------ | :---- | :------------------------------------- |
| `credentials` | array | Every credential stored on the target. |

<Note>
  The listing is exhaustive. It previously stopped after DynamoDB's first internal page, so a target with many
  credentials could come back short; it now always returns the complete set. There is no pagination to drive —
  one call returns everything.
</Note>

Listing is a read, so it is never subject to the human-behind-the-request rule that governs
[Create Credential](/rest-api/shared/create-credential) and
[Delete Credential](/rest-api/shared/delete-credential). A
[service account](/general/service-accounts)'s own key can list every credential it can reach.

### Example

<CodeGroup>
  ```bash Request theme={null}
  curl https://api.blobhub.io/v1/credentials/target/user/user_123 \
    -H "X-API-Key: $ORG_API_KEY"
  ```

  ```json Response theme={null}
  {
    "status": "success",
    "credentials": [
      {
        "id": "cred_001",
        "alias": "aws-prod",
        "type": "aws"
      }
    ]
  }
  ```
</CodeGroup>
