Credential
列出 Credential
分页列出密钥
cURL
复制
curl --request GET \
--url 'https://dashscope.aliyuncs.com/api/v1/agentstudio/vaults/{vault_id}/credentials' \
--header 'Authorization: Bearer <YOUR_API_KEY>'复制
{
"data": [
{
"id": "cred_xxx",
"type": "credential",
"vault_id": "vlt_xxx",
"display_name": "第三方 API 密钥",
"auth": {
"type": "environment_variable",
"secret_name": "API_KEY",
"networking": {
"allowed_hosts": [
"api.example.com",
"*.example.com"
]
},
"injection_location": {
"header": true
}
},
"metadata": {},
"archived_at": null,
"created_at": "2026-07-10T08:00:00Z",
"updated_at": "2026-07-10T08:00:00Z",
"request_id": "req_xxx"
}
],
"next_page": null
}