> ## 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** `/:target/:target_id/credentials`

### Path Parameters

| Parameter   | Type   | Required | Description                                 |
| :---------- | :----- | :------- | :------------------------------------------ |
| `target`    | string | Yes      | Resource type: `users`, `orgs`, or `blobs`. |
| `target_id` | string | Yes      | The unique ID of the target resource.       |

### Response

| Parameter     | Type  | Description                 |
| :------------ | :---- | :-------------------------- |
| `credentials` | array | List of credential objects. |

### Example

<CodeGroup>
  ```bash Request theme={null}
  curl -X GET https://api.blobhub.io/v1/users/user_123/credentials
  ```

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