AWS security in forty-nine slides, the capstone of the course's IAM thread: the six policy types and the order IAM evaluates them in, permissions boundaries and session policies, the layer that denies a request; cross-account roles, the confused deputy and the external ID; Organizations, SCPs, RCPs and Control Tower; federation with SAML and OIDC, the STS operations, IAM Identity Center and Directory Service; KMS keys, key policies, the KMS calls behind SSE-KMS, rotation, grants and multi-Region keys; Secrets Manager, Parameter Store and ACM; WAF, Shield, Network Firewall and Firewall Manager; GuardDuty, Inspector, Macie, Security Hub, Detective, CloudTrail and Config. Every section ends with five exam questions.
The slides
The tool is forty-nine slides: an introduction, then eight sections, listed on its left. Every section ends with five
exam questions, each with its answer and the tempting wrong answer.
- 0. Introduction
- AWS security in depth: the project's request path, and each control on it.
- The questions each control answers: who may, how far an account goes, who reads the data, what happened.
- 1. Policy evaluation
- The six policy types: two grant, four only limit.
- Policy evaluation in one account: the Deny search, then each type in order.
- A permissions boundary, and delegating role creation with a boundary.
- A session policy: one role, narrower sessions.
- The layer that denies a request: six requests, and the layer that refused each.
- 2. Cross-account roles and STS
- A cross-account role:
project-auditor in a second account, and both sides allowing. - A cross-account role from the CLI: a role profile.
- The confused deputy problem, and the external ID and the source conditions.
- 3. Organizations, SCPs and Control Tower
- AWS Organizations: the management account, OUs, member accounts.
- A service control policy (SCP):
deny-other-regions, and SCPs at each level of the tree. - A resource control policy (RCP): a data perimeter around the organization's buckets.
- AWS Control Tower: the landing zone, Account Factory, the three kinds of controls.
- 4. Identity Center and federation
- Federation: SAML 2.0 and OIDC, and the provider in IAM.
- The STS operations, AWS IAM Identity Center and AWS Directory Service.
- 5. KMS keys
- The kinds of KMS keys and the key policy.
- The KMS calls behind an SSE-KMS object: why a bucket permission is not enough.
- Rotating a KMS key, KMS grants and multi-Region keys.
- 6. Secrets and certificates
- AWS Secrets Manager, Secrets Manager and Parameter Store, AWS Certificate Manager (ACM).
- 7. Network protection
- AWS WAF, AWS Shield, AWS Network Firewall, AWS Firewall Manager, and the network controls compared.
- 8. Detection and audit
- Amazon GuardDuty, Amazon Inspector and Amazon Macie, AWS Security Hub and Amazon Detective.
- AWS CloudTrail and AWS Config.
- The detection service for each threat.
The buttons on the left and right edges move between slides. So do the arrow keys and a swipe.
The lab
AWS Security Lab: Accounts, Keys and Guardrails practices it. The older articles
Storing Secrets in AWS and
Differentiating Security Services
cover two of its sections in prose.
The account IDs (111122223333, 444455556666, 777788889999, 123456789012), the key ID and the addresses are
AWS's documentation placeholders. The policies, records and command outputs are written from AWS's documentation, not
run. Prices are those AWS published on 2026-11-16, in US dollars.
Sources
- Policy evaluation:
Policy evaluation logic,
Permissions boundaries
and
Session policies.
- Cross-account access:
Cross-account resource access in IAM
and
The confused deputy problem.
- Organizations:
Service control policies,
Resource control policies,
Quotas,
SCP examples
and
AWS Control Tower.
- Federation:
Identity providers and federation,
IAM Identity Center
and
AWS Directory Service.
- KMS:
Key policies,
Rotate keys,
Grants,
Multi-Region keys
and
Pricing.
- Secrets and certificates:
Secrets Manager,
Parameter tiers
and
AWS Certificate Manager.
- Network protection:
AWS WAF,
Rate-based rules,
Shield pricing,
AWS Network Firewall
and
AWS Firewall Manager.
- Detection and audit:
GuardDuty,
Inspector,
Macie,
Security Hub,
Detective,
CloudTrail
and
AWS Config.
- The icons:
AWS Architecture Icons.