阿里云oss配置

被刻印的时光 ゝ 提交于 2020-01-16 20:12:06

STS临时授权访问OSS

详细教程

给RAM配置自定义权限策略

参考
注意:如果对某个buck所有操作要记得,将该buck下所有路径也加入配置中
例如:

{
    "Version": "1",
    "Statement": [
     {
           "Effect": "Allow",
           "Action": [
             "oss:ListObjects",
             "oss:GetObject"
           ],
           "Resource": [
             "acs:oss:*:*:ram-test",
             "acs:oss:*:*:ram-test/*"
           ]
     }
    ]
}

使用浏览器访问oss资源记得开启CORS设置(One or more of the specified parts could not be found or the specified entity tag might not have matched the part’s entity tag)
详细教程

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!