AWS Organization all resources access using Python SDK

0

I have an AWS Organization account and need to have access to all the accounts' resources like S3,RDS,EC2 in AWS Organization so that I can access it using the access key and secret key of the Master Account using BOTO3 SDK. Please guide me how can i achieve it.

1 個回答
0

This is not how AWS works, you can use the AWS Organization to provision AWS IAM roles in each AWS Account (ex have a look at AWS SSO or Cloudformaiton StackSets). Then you can assume every individual role with boto3 and describe the resources you need.

It sounds like you need some help with cloud governance because this is deep rabbit hole your going down, so you should have a look at a tool like CloudCheckr or similar. Or find a consulting partner.

Hope it helps!

//Carl

profile picture
已回答 2 年前
  • I see, so you are saying using single credential of the Master/Root account I cannot have access to the accounts in AWS organizational units?

  • Exactly. You need to login into every individual account.

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

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

回答問題指南