A logistics company is designing a multi-account strategy using AWS Organizations. The IT department wants to implement centralized user access for administrative staff by integrating their existing external identity provider. Furthermore, the security team requires that no member account is allowed to disable AWS CloudTrail logging. Which solution should a solutions architect recommend to satisfy these requirements?
- Configure AWS IAM Identity Center federated with the external identity provider, and attach a Service Control Policy (SCP) that denies the cloudtrail:StopLogging action to the organizational unit containing the member accounts.Answer
- BCreate individual IAM users in each member AWS account mapping to external identities, and attach a Service Control Policy (SCP) that denies the cloudtrail:StopLogging action to the root of the organization to enforce limits globally.
- CConfigure AWS IAM Identity Center for normal users, but utilize the management account's root user credentials for daily multi-account administration. Apply local IAM policies to deny CloudTrail changes within each member account.
- DCreate IAM users in the management account for all administrative staff, configure trust relationships for cross-account roles, and configure a Service Control Policy (SCP) on the management account itself to restrict log modification.
Answer
Configure AWS IAM Identity Center federated with the external identity provider, and attach a Service Control Policy (SCP) that denies the cloudtrail:StopLogging action to the organizational unit containing the member accounts.
Integrating AWS IAM Identity Center with an external identity provider simplifies identity management by using federation rather than local credentials. Additionally, attaching an SCP to the member accounts' organizational unit successfully prevents any user or role inside those member accounts from stopping CloudTrail logging, guaranteeing compliance.
Step-by-Step Solution
Key Concept
Centralized multi-account governance using AWS Organizations SCPs and AWS IAM Identity Center.