阿里云oss配置
程序员文章站
2022-07-14 21:48:34
...
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)
详细教程