查詢ACCESS_KEY以及SECRECT_KEY
更新時(shi)間(jian) 2025-06-11 14:55:15
最近更新時間: 2025-06-11 14:55:15
分享文章
接口介紹
查(cha)詢 ACCESS_KEY 以及 SECRECT_KEY
URI
GET /v4/oss/get-keys
請求參數
請求 Query 參數(shu)
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 |
|---|---|---|---|---|
| regionID | 是 | String | 區域 ID | 332232eb-63aa-465e-9028-52e5123866f0 |
響應參數
| 參數 | 參數類型 | 說明 | 示例 |
|---|---|---|---|
| statusCode | Integer | 返回碼 取值范圍:800 成功 |
800 |
| message | String | 狀態描述 | SUCCESS |
| description | String | 狀態描述,一般為中文 | 成功 |
| returnObj | Array of Objects | 響應對象 | 見下級對象 |
| errorCode | String | 業務細分碼(僅失敗時具有此參數),為product.module.code三段式碼 | openapi.userPermission.accessFailed |
表(biao) returnObj
| 參數 | 參數類型 | 說明 | 示例 |
|---|---|---|---|
| accessKey | String | ACCESS KEY | ak1xxxx |
| secretKey | String | SECRET KEY | sk1xxxxxxx |
請求示例
GET //zos-global.ctapi.daliqc.cn/v4/oss/get-keys?regionID=332232eb-63aa-465e-9028-52e5123866f0
響應示例
{
"returnObj": [
{
"accessKey": "ak1xxxx",
"secretKey": "sk1xxxxxxx"
},
{
"accessKey": "xxxxxxx2",
"secretKey": "yyyyyy2"
}
],
"message": "SUCCESS",
"description": "成功",
"statusCode": 800
}
狀態碼
| 狀態碼 | 描述 |
|---|---|
| 800 | 表示請求成功。 |
| 900 | 表示請求失敗。 |
錯誤碼
errorCode 枚舉值,見錯誤碼總表