Interview Prep/AWS/IAM Advanced, STS and Multi-Account

Deny-list vs allow-list SCP strategy: which do you pick?

AdvancedConceptIAM Advanced, STS and Multi-Account
Answer

Deny-list keeps FullAWSAccess and adds targeted denies (leave Org, disable CloudTrail, unapproved Regions, delete flow logs). It is low-maintenance and new services work automatically. Allow-list removes FullAWSAccess and explicitly allows services; it is tight but every new service or API needs an SCP change and you hit the 5,120-character size limit quickly.

We use deny-lists for almost everything and reserve allow-lists for regulated OUs. Always test SCPs in a sandbox OU, since a bad deny can lock out even your pipeline roles.

aws All AWS questions Roadmap: AWS core services

More on IAM Advanced, STS and Multi-Account