A financial technology startup is using AWS Organizations to manage multiple AWS accounts. The security team wants to enforce compliance across all member accounts by ensuring that AWS CloudTrail remains enabled and Amazon GuardDuty cannot be disabled or modified by member account administrators. Additionally, the startup wants to federate user access using their external Identity Provider (IdP) so that employees can access member accounts with their existing credentials without introducing long-term IAM credentials. Which strategy should the solutions architect recommend to meet these security and compliance requirements with the least operational effort?
- Enable AWS IAM Identity Center, configure federation with the external IdP, and assign permissions. Place the member accounts into Organizational Units (OUs) within AWS Organizations, and attach a Service Control Policy (SCP) to the OUs that denies API actions for disabling CloudTrail and GuardDuty.Answer
- BCreate individual IAM users in each member account for every employee in the external IdP directory, configure IAM roles for cross-account access, and use AWS Organizations Service Control Policies (SCPs) to prevent member accounts from altering CloudTrail and GuardDuty.
- CEnable AWS IAM Identity Center and configure federation with the external IdP. Attach a Service Control Policy (SCP) to the AWS Organizations management account root user to prevent it from disabling CloudTrail and GuardDuty across all member accounts.
- DDeploy an AWS Directory Service AD Connector in each member account, generate individual IAM users with programmatic keys for each directory user, and use AWS Systems Manager to audit and automatically re-enable CloudTrail and GuardDuty if disabled.
Answer
Enable AWS IAM Identity Center, configure federation with the external IdP, and assign permissions. Place the member accounts into Organizational Units (OUs) within AWS Organizations, and attach a Service Control Policy (SCP) to the OUs that denies API actions for disabling CloudTrail and GuardDuty.
The correct strategy uses AWS IAM Identity Center to federate with the external IdP, which centralizes user management and avoids creating individual IAM users with long-term credentials in each member account. It also groups member accounts into Organizational Units (OUs) and applies Service Control Policies (SCPs) to deny disabling CloudTrail and GuardDuty. This enforces security guardrails across all member accounts with minimal operational effort.
Step-by-Step Solution
Key Concept
Centralized multi-account governance using AWS Organizations, Service Control Policies (SCPs), and AWS IAM Identity Center for external IdP federation.