云桌面 WORKSPACE-获取上传至OBS桶的临时ak/sk:响应示例

时间:2024-09-05 16:31:22

响应示例

状态码: 200

成功响应。

{
  "server_end_point" : "https://obs.cn-nor***huaweicloud.com",
  "bucket_name" : "wks-app-test123456",
  "directory" : "file/Postman.exe",
  "ak" : "5BJ**********30",
  "sk" : "2yBU5X6h7k*******odwsMtw5gt",
  "policy" : {
    "version" : "1.1",
    "statement" : {
      "effect" : "Allow",
      "action" : [ "obs:object:putObject", "obs:object:deleteObject" ],
      "resource" : [ "obs:*:*:object:wks-app-test123456/file/Postman.exe" ]
    }
  },
  "security_token" : "ggpjbi1ub3J0a***********VJKSkNHUjMwIiwi...",
  "expires_at" : "2020-01-08T03:16:01:599000Z"
}
support.huaweicloud.com/api-workspace/AuthorizeObs.html