限制使用AdministratorAccess策略的用户或者角色
1-修改信任策略trust policy
"Condition": {
"StringNotEqualsIfExists": {
"aws:PrincipalOrgID": "<my-org-id>",
"aws:PrincipalAccount": [
"<third-party-account-a>",
"<third-party-account-b>"
]
},
"BoolIfExists": {
"aws:PrincipalIsAWSService": "false"
}
}2-增加SCP
3 - 单独的IAM管理员和安全审计员
最后更新于