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

# 获取镜像认证信息列表

> PPIO 算力 API 文档介绍如何查询镜像仓库认证信息列表，说明相关请求与结果处理方式，为开发者核对镜像资源访问相关配置提供参考。

## 请求头

**Authorization** `string` *required*

Bearer 身份验证格式，例如：Bearer \{\{API 密钥}}。

## 响应参数

**data** `object[]` *required*

镜像仓库认证列表。

**properties**

**id** `string` *required*

平台镜像认证 ID。

**name** `string` *required*

镜像认证展示名称。

**username** `string` *required*

Docker 镜像认证用户名。

**password** `string` *required*

Docker 镜像认证密码。

## 示例

### 请求示例

```bash theme={null}
curl --location --request GET 'https://api.ppio.com/gpu-instance/openapi/v1/repository/auths' \
--header 'Authorization: Bearer {{API 密钥}}'
```

### 响应示例

```json theme={null}
{
  "data": [
    {
      "id": "20",
      "name": "test",
      "username": "test",
      "password": "xxxxxxxx"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.