https://help.aliyun.com/zh/oss/developer-reference/authorize-access-2
名:STSAccess-jobpi 备注:OSS权限-jobpi
OSSPutAccess_saas-2024
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"oss:PutObject",
"oss:GetObject"
],
"Resource": [
"acs:oss:*:*:jobpi",
"acs:oss:*:*:jobpi/*"
]
}
]
}
角色名称:stsToken-jobpi 备注:stsToken角色
添加上面的权限策略
得到ARN地址
角色名称:stsToken-jobpi@xxxx 备注:stsToken用户
添加权限策略
AliyunSTSAssumeRoleAccess
STSAccess-jobpi 第一步建的权限策略