IAM Policy SFTP

0

Reading this doc - Link: https://docs.aws.amazon.com/transfer/latest/userguide/monitoring.html

So, i have created 1 policy and attached it to new role.

When i want to create second role i have the error:
This policy contains the following error: Has prohibited field Principal For more information about the IAM policy grammar, see AWS IAM Policies

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "transfer.amazonaws.com"
},
"Action": "sts:AssumeRole",
"Condition": {}
}
]
}

已提問 5 年前檢視次數 225 次
1 個回答
0

it's not policy, it's relationship button, fixed

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南