我在亚马逊网络服务上使用了这个策略,尝试使用S3存储桶连接AoC:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::880559705280:role/atp-aws-us-east-1-ts-atc-node"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringLike": {
"sts:ExternalId": "crn:v1:bluemix:public:aspservice-service:global:a/2dd2425e9a424641a12855a1fd5e85ee:70740386-6ca4-4473-bf9b-69a1fd22be12:::c1893698-abfa-4934-a7ca-1a6d837df5e0"
}
}
}
]
}但在存储桶策略上复制时,我会收到Error: Statement is missing required element.
怎么啦?
发布于 2020-01-14 17:58:55
您需要将此策略文件粘贴到角色选项卡中的Trust relationship policy中。
https://stackoverflow.com/questions/52407749
复制相似问题