AWS - Organizations Enum

支持 HackTricks

基本信息

AWS Organizations 便于创建新的 AWS 账户而无需额外费用。资源可以轻松分配,账户可以高效分组,并且可以对单个账户或账户组应用治理策略,从而增强组织内的管理和控制。

关键点:

  • 新账户创建:AWS Organizations 允许创建新的 AWS 账户而无需额外费用。

  • 资源分配:简化了跨账户分配资源的过程。

  • 账户分组:账户可以分组管理,使管理更加简化。

  • 治理策略:可以对账户或账户组应用策略,确保组织内的合规性和治理。

你可以在以下链接找到更多信息:

AWS - Basic Information
# Get Org
aws organizations describe-organization
aws organizations list-roots

# Get OUs, from root and from other OUs
aws organizations list-organizational-units-for-parent --parent-id r-lalala
aws organizations list-organizational-units-for-parent --parent-id ou-n8s9-8nzv3a5y

# Get accounts
## List all the accounts without caring about the parent
aws organizations list-accounts
## Accounts from a parent
aws organizations list-accounts-for-parent --parent-id r-lalala
aws organizations list-accounts-for-parent --parent-id ou-n8s9-8nzv3a5y

# Get basic account info
## You need the permission iam:GetAccountSummary
aws iam get-account-summary

参考资料

  • https://aws.amazon.com/organizations/

支持 HackTricks

Last updated