Identity & Access Management in the Cloud
Identity is the new perimeter in cloud security. This lesson dives deep into cloud IAM — how users, roles, and policies work in AWS, Azure, and GCP, and how attackers exploit overly permissive configurations to escalate privileges and move laterally. You will learn the principle of least privilege in practice, how to audit IAM policies, and how to detect and respond to credential compromise in a cloud environment.
Learning Objectives — Deep Dive
Each objective below is broken down into plain English so you know exactly what you are learning, why it matters, and what you will be able to do when you are done. Mark each one complete as you work through the lesson.
Audit existing IAM users
List all IAM users and check for those with AdministratorAccess or wildcard policies.
aws iam list-users --query "Users[*].UserName" --output tableCheck for unused access keys
Generate a credential report to find access keys older than 90 days or never used.
aws iam generate-credential-report && aws iam get-credential-report --query "Content" --output text | base64 -dEnable MFA for all IAM users
List users without MFA devices and enforce MFA via a deny policy for non-MFA sessions.
aws iam list-virtual-mfa-devices --assignment-status Unassigned --query "VirtualMFADevices[*].SerialNumber"Enable IAM Access Analyzer
Create an analyzer in your region to continuously monitor for externally accessible resources.
aws accessanalyzer create-analyzer --analyzer-name my-analyzer --type ACCOUNT