建立写, 读角色
新建bucket -> 为bucket建立写角色, 读角色 -> 为角色建立写策略, 读策略 -> 将策略绑定到角色上
https://help.aliyun.com/document_detail/31935.html?spm=a2c4g.11186623.2.6.VpHE4b
建立扮演策略
扮演策略扮演读写角色
https://help.aliyun.com/document_detail/31935.html?spm=a2c4g.11186623.2.6.VpHE4b
为用户授权策略
授权扮演策略
使用扮演角色申请临时sts
https://help.aliyun.com/document_detail/28788.html?spm=a2c4g.11186623.6.726.9wn2kP
使用临时sts
https://help.aliyun.com/document_detail/32016.html?spm=a2c4g.11186623.6.685.nmvmH4
oss cdn 加速
先在oss绑定用户域名
再在cdn添加加速域名, 即将用户域名和oss域名绑定, 生成一个cdn加速域名
再在dns解析的地方为用户域名添加一个指向cdn加速域名的CNAME