开发者社区> 问答> 正文

临时凭证无权限操作

您好,
我们在短视频上传的时候遇到“User not authorized to operate on the specified resource.”异常,操作步骤如下:
1、根据文档https://help.aliyun.com/document_detail/55407.html?spm=5176.2020520165.120.d55407.4ed77029jZkgyq 在服务器端获取到了上传地址凭证UploadAuth,并Base64解码得到临时AccessKeyId、AccessKeySecret、SecurityToken和ExpriedTime。
2、客户端使用得到的临时AccessKeyId、AccessKeySecret、SecurityToken和ExpriedTime根据文档https://help.aliyun.com/document_detail/62945.html?spm=a2c4g.11186623.6.803.24a87b37p2Pp6L上传时,提示“User not authorized to operate on the specified resource.”错误。
请问下,是哪里配置错了,还是后台获取到的临时id的方式不对呢
谢谢

https://help.aliyun.com/document_detail/55407.html?spm=5176.2020520165.120.d55407.4ed77029jZkgyq
AccessKeyId、AccessKeySecret、SecurityToken和ExpriedTime
临时AccessKeyId、AccessKeySecret、SecurityToken和ExpriedTime

展开
收起
1999405577943728 2018-09-26 14:32:31 1485 0
2 条回答
写回答
取消 提交回答
  • 临时AccessKeyId是没法在访问控制里面添加授权的,原始的AccessKeyId是已经添加授权了所有VOD权限的
    2018-09-26 14:55:02
    赞同 展开评论 打赏
  • 您好,您可能没有在访问控制对该角色授权。
    2018-09-26 14:43:00
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载