阿里云OSS STS上传配置

文档地址:https://help.aliyun.com/document_detail/100624.html?spm=5176.11065259.1996646101.searchclickresult.47fd6c12xIQq28

RAM Policy Editor:http://gosspublic.alicdn.com/ram-policy-editor/index.html

上传1M的文件报错,需要配置:

Bucket设置
从浏览器中直接访问OSS需要开通Bucket的CORS设置:

将allowed origins设置成 *
将allowed methods设置成 PUT, GET, POST, DELETE, HEAD
将allowed headers设置成 *
将expose headers设置成  etag x-oss-request-id

Last updated

Was this helpful?