amazon web services - What is the actual YourControlTowerUserRole when creating AWSControlTowerBlueprintAccess for AWS Control T

Follow the official user guide for setting up Account Factory.It provides a example trust policy of AW

Follow the official user guide for setting up Account Factory.

It provides a example trust policy of AWSControlTowerBlueprintAccess in the Hub account (blueprint account):

{
   "Version": "2012-10-17",
   "Statement": [
       {
           "Effect": "Allow",
           "Principal": {
               "AWS": [
               "arn:aws:iam::YourManagementAccountId:role/service-role/AWSControlTowerAdmin", 
               "arn:aws:iam::YourManagementAccountId:role/YourControlTowerUserRole"
               ]
           },
           "Action": "sts:AssumeRole"
       }
   ]
}

and it says:

replace the term YourManagementAccountId with the actual acccount ID of your AWS Control Tower management account, and replace the term YourControlTowerUserRole with the identifier of the IAM role for your management account.

I am not sure what the YourControlTowerUserRole is, it is mentioned in no where else when setting up the AWS Control Tower.

I did experimentally created a test role contains permission for administering Control Tower in the management account. I can use this role for Control Tower console by AssumeRole, but the effective ARN is like

arn:aws:sts::{AccountID}:assumed-role/{RoleName}/{FunctionName}

NOT

arn:aws:iam::YourManagementAccountId:role/YourControlTowerUserRole

So it cannot assume to AWSControlTowerBlueprintAccess for accessing the blueprints.

I am confused now, can someone explain why the trust policy requires this YourControlTowerUserRole and how this is used in practise.

Thanks KLIN

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745074742a4609765.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信