Lesson 02 β Enterprise Identity & Zero Trust Implementation Project
Learning Path
βοΈ Phase 02 β AWS Cloud Security
π Enterprise Cloud Security Projects & Capstone Labs
π― Lesson Objective
Section titled βπ― Lesson ObjectiveβIn this project, you will work as CloudNova Technologiesβ Lead Cloud Security Engineer and design an enterprise identity and Zero Trust architecture.
You will move beyond creating individual IAM users and policies.
You will build a scalable identity model that supports:
- Centralised workforce authentication
- Enterprise federation
- Multi-account access
- Temporary credentials
- Role-Based Access Control
- Attribute-Based Access Control
- Privileged access management
- Workload identities
- Cross-account access
- Emergency access
- Identity governance
- Continuous access reviews
- Zero Trust security principles
By the end of this lesson, you will be able to:
- Explain enterprise identity architecture.
- Apply Zero Trust principles to AWS access.
- Distinguish human and machine identities.
- Design IAM Identity Center architecture.
- Integrate an external identity provider.
- Design enterprise users and groups.
- Create permission-set catalogues.
- Implement Role-Based Access Control.
- Implement Attribute-Based Access Control.
- Design cross-account IAM roles.
- Use AWS Security Token Service.
- Replace long-term credentials with temporary credentials.
- Design privileged access workflows.
- Create emergency-access procedures.
- Govern joiner, mover and leaver processes.
- Design machine identities for AWS workloads.
- Configure GitHub Actions access using OpenID Connect.
- Apply least privilege.
- Review and validate access.
- Produce professional enterprise identity documentation.
π Lesson Information
Section titled βπ Lesson Informationβ| Area | Details |
|---|---|
| Project | CloudNova Enterprise Identity and Zero Trust |
| Project Type | Identity Architecture, Governance and Implementation |
| Estimated Time | 14β18 Hours |
| Difficulty | Advanced |
| Delivery Mode | DIY or Instructor-Led |
| Primary Services | IAM Identity Center, AWS IAM, AWS STS |
| Supporting Services | AWS Organizations, CloudTrail, IAM Access Analyzer, AWS Config, EventBridge, SNS |
| Main Deliverable | Enterprise Identity and Zero Trust Design |
| Environment | Dedicated training or sandbox AWS environment |
| Prerequisite | Lesson 01 β Enterprise AWS Landing Zone Project |
π’ Business Scenario
Section titled βπ’ Business ScenarioβCloudNova Technologies has completed the design of its enterprise AWS landing zone.
The organisation now operates:
- A central AWS Organizations structure
- Security and infrastructure organisational units
- Dedicated production and non-production accounts
- Centralised logging
- Shared security accounts
- An account provisioning process
- Multi-account governance
However, identity and access remain inconsistent.
Current challenges include:
- Local IAM users exist in many accounts.
- Developers have manually created access keys.
- Production access is not consistently approved.
- Some administrators use permanent credentials.
- Access is not removed promptly when employees leave.
- Permission models differ between business units.
- Security teams cannot easily investigate access across all accounts.
- External contractors have excessive permissions.
- Cross-account roles are not documented.
- Emergency-access procedures are unclear.
- Service accounts use long-term access keys.
- CI/CD pipelines store credentials in repositories.
- Access reviews are conducted manually.
- Privileged activity is not centrally monitored.
- Identity ownership is unclear.
CloudNova has:
- 12 business units
- 500 AWS accounts
- 8,000 employees
- 400 developers
- 150 security engineers
- 80 network engineers
- 20 finance users
- 30 auditors
- A 24Γ7 Security Operations Centre
The Chief Information Security Officer asks:
βHow can we provide secure access to hundreds of AWS accounts without relying on permanent credentials, while ensuring least privilege, strong authentication and complete auditability?β
You have been assigned to lead the CloudNova Enterprise Identity and Zero Trust Implementation Project.
π§βπΌ Your Role
Section titled βπ§βπΌ Your RoleβYou are working as the:
Lead Cloud Security Engineer
Your responsibilities include:
- Gathering identity and access requirements.
- Designing enterprise federation.
- Configuring IAM Identity Center.
- Defining users, groups and permission sets.
- Designing role-based access.
- Designing attribute-based access.
- Establishing privileged-access controls.
- Designing cross-account access.
- Governing machine identities.
- Eliminating unnecessary long-term credentials.
- Defining identity lifecycle processes.
- Creating access-review procedures.
- Building emergency-access processes.
- Monitoring identity activity.
- Presenting the identity architecture to stakeholders.
1. Enterprise Identity Strategy
Section titled β1. Enterprise Identity StrategyβEnterprise identity is the foundation of cloud security.
CloudNova must know:
- Who is requesting access?
- What resource is being accessed?
- Why is access required?
- From which device and location?
- What level of access is appropriate?
- How long should access remain active?
- Who approved the access?
- How will the activity be monitored?
- How will the access be removed?
CloudNovaβs identity strategy will be based on:
- Centralised authentication
- Federated access
- Strong MFA
- Temporary credentials
- Least privilege
- Separation of duties
- Explicit authorisation
- Continuous verification
- Complete auditability
- Automated lifecycle management
2. Zero Trust Security
Section titled β2. Zero Trust SecurityβZero Trust is a security model based on the principle:
Never trust automatically. Always verify explicitly.
Traditional security models often assume that users inside a trusted network can be trusted.
Zero Trust removes this assumption.
Every access request must be evaluated using identity, context, policy and risk.
Zero Trust Principles
Section titled βZero Trust PrinciplesβVerify Explicitly
Section titled βVerify ExplicitlyβAuthenticate and authorise every access request using all available information.
Examples:
- User identity
- Group membership
- Device posture
- Location
- Requested resource
- Requested action
- Session age
- Authentication method
- Risk level
Apply Least Privilege
Section titled βApply Least PrivilegeβGrant only the permissions required to perform an approved task.
Assume Breach
Section titled βAssume BreachβDesign controls with the assumption that credentials, accounts or workloads may become compromised.
Use Temporary Access
Section titled βUse Temporary AccessβPrefer short-lived sessions instead of long-term credentials.
Continuously Evaluate Access
Section titled βContinuously Evaluate AccessβAccess should be reviewed and adjusted as roles, responsibilities and risks change.
3. Enterprise Identity Architecture
Section titled β3. Enterprise Identity ArchitectureβCloudNova Workforce
|
Enterprise Identity Provider
|
Strong MFA and Conditional Access
|
AWS IAM Identity Center
|
Users and Groups
|
Permission Sets
|
AWS Organizations
|
AWS Accounts
|
IAM Roles
|
Temporary AWS Credentials
|
AWS Resources4. Human and Machine Identities
Section titled β4. Human and Machine IdentitiesβCloudNova must separately govern human and machine identities.
Human Identities
Section titled βHuman IdentitiesβExamples:
- Developers
- Security engineers
- SOC analysts
- Network engineers
- Auditors
- Finance users
- Contractors
- Administrators
Human identities should use:
- Enterprise identity provider accounts
- IAM Identity Center
- MFA
- Group-based assignments
- Temporary role sessions
- Access approval workflows
Machine Identities
Section titled βMachine IdentitiesβExamples:
- EC2 applications
- Lambda functions
- ECS tasks
- EKS workloads
- CI/CD pipelines
- Automation tools
- Monitoring agents
- Backup services
Machine identities should use:
- IAM roles
- Service roles
- Task roles
- Instance profiles
- Web identity federation
- OpenID Connect
- Short-lived credentials
- Secrets Manager where credentials cannot be avoided
5. Identity Anti-Patterns
Section titled β5. Identity Anti-PatternsβCloudNova must avoid:
- Shared administrator accounts
- IAM users created in every AWS account
- Long-term administrator access keys
- Credentials stored in source code
- Credentials stored in CI/CD variables without rotation
- Shared service-account passwords
- Generic roles without ownership
- Excessive use of wildcard permissions
- Permanent production access
- Unmonitored emergency accounts
- Access granted directly to individual users
- Roles without trust-policy restrictions
- Access that is never reviewed
- Former employees retaining access
6. IAM Identity Center
Section titled β6. IAM Identity CenterβIAM Identity Center provides centralised workforce access to AWS accounts and applications.
CloudNova will use IAM Identity Center to:
- Connect the enterprise identity provider.
- Manage workforce access centrally.
- Assign users through groups.
- Create permission sets.
- Provision roles across AWS accounts.
- Issue temporary sessions.
- Reduce local IAM users.
- Simplify multi-account access.
- Centralise access auditing.
7. Enterprise Federation
Section titled β7. Enterprise FederationβFederation allows users to authenticate through CloudNovaβs existing identity platform and access AWS without separate AWS passwords.
Possible identity providers include:
- Microsoft Entra ID
- Okta
- Google Workspace
- Active Directory
- Ping Identity
- Other SAML-compatible providers
Federation Architecture
Section titled βFederation ArchitectureβEmployee
|
Corporate Identity Provider
|
Authentication and MFA
|
SAML Federation
|
IAM Identity Center
|
Permission Set
|
IAM Role in AWS Account
|
Temporary Credentials8. SAML, OIDC and SCIM
Section titled β8. SAML, OIDC and SCIMβSecurity Assertion Markup Language is commonly used for enterprise workforce federation.
It transfers authentication information from an identity provider to a service provider.
OpenID Connect is commonly used for modern applications, workload federation and CI/CD integrations.
Examples:
- GitHub Actions to AWS
- Kubernetes workload identity
- External application authentication
System for Cross-domain Identity Management supports automatic user and group provisioning.
SCIM can help:
- Create users automatically.
- Synchronise group membership.
- Update identity attributes.
- Disable users after termination.
- Reduce manual administration.
9. IAM Identity Center Identity Sources
Section titled β9. IAM Identity Center Identity SourcesβCloudNova may use:
- The IAM Identity Center directory
- Active Directory
- An external identity provider
For an enterprise with thousands of employees, an external identity provider is generally preferred because it allows CloudNova to maintain one authoritative workforce identity source.
10. Enterprise Group Design
Section titled β10. Enterprise Group DesignβAccess should normally be assigned through groups rather than directly to users.
Proposed Groups
Section titled βProposed GroupsβAWS-Cloud-Platform-AdministratorsAWS-Cloud-Security-AdministratorsAWS-SOC-Tier-1-AnalystsAWS-SOC-Tier-2-AnalystsAWS-SOC-Incident-RespondersAWS-Network-AdministratorsAWS-DevOps-EngineersAWS-DevelopersAWS-Production-SupportAWS-Database-AdministratorsAWS-Internal-AuditorsAWS-External-AuditorsAWS-Finance-ViewersAWS-ReadOnly-SupportAWS-ContractorsAWS-Emergency-Administrators11. Group-Naming Standard
Section titled β11. Group-Naming StandardβCloudNova will use:
AWS-<Function>-<Access-Level>Examples:
AWS-Developers-PowerUserAWS-Production-ReadOnlyAWS-Security-AdministratorAWS-Finance-BillingViewerAWS-Audit-ReadOnlyGroup names should indicate:
- Platform
- Team or function
- Environment where relevant
- Access level
- Special restrictions
12. Permission Sets
Section titled β12. Permission SetsβA permission set defines the access users receive in assigned AWS accounts.
IAM Identity Center provisions IAM roles based on permission sets.
Proposed Permission-Set Catalogue
Section titled βProposed Permission-Set Catalogueβ| Permission Set | Purpose | Session Duration |
|---|---|---|
| PlatformAdministrator | Enterprise platform administration | 1 hour |
| SecurityAdministrator | Security-service administration | 1 hour |
| SOCAnalystReadOnly | Investigation and monitoring | 4 hours |
| IncidentResponder | Approved containment actions | 1 hour |
| NetworkAdministrator | Enterprise network administration | 1 hour |
| DeveloperPowerUser | Development deployment access | 4 hours |
| ProductionReadOnly | Production troubleshooting | 2 hours |
| DatabaseAdministrator | Managed database administration | 1 hour |
| AuditorReadOnly | Audit and evidence review | 4 hours |
| BillingViewer | Cost and billing visibility | 4 hours |
| EmergencyAdministrator | Emergency privileged access | 30 minutes |
13. Permission-Set Design Principles
Section titled β13. Permission-Set Design PrinciplesβCloudNova permission sets must:
- Use least privilege.
- Avoid unnecessary wildcard permissions.
- Separate read, write and administrative access.
- Use shorter sessions for privileged roles.
- Include permission boundaries where required.
- Avoid direct access to sensitive accounts unless justified.
- Use customer-managed policies where greater control is required.
- Be reviewed regularly.
- Have a clearly assigned owner.
- Include a documented business purpose.
14. Role-Based Access Control
Section titled β14. Role-Based Access ControlβRole-Based Access Control assigns permissions according to a userβs job function.
User
β
Enterprise Group
β
Permission Set
β
AWS Account Assignment
β
IAM Role
β
AWS ResourcesExample RBAC Matrix
Section titled βExample RBAC Matrixβ| Role | Development | Testing | Production | Security Accounts |
|---|---|---|---|---|
| Developer | Power User | Read Only | Read Only | No Access |
| DevOps Engineer | Administrator | Administrator | Deployment Access | No Access |
| Platform Administrator | Administrator | Administrator | Administrator | Limited |
| Security Engineer | Security Admin | Security Admin | Security Admin | Administrator |
| SOC Analyst | Read Only | Read Only | Read Only | Investigation Access |
| Network Engineer | Network Admin | Network Admin | Network Admin | Limited |
| Auditor | Read Only | Read Only | Read Only | Read Only |
| Finance User | Billing View | Billing View | Billing View | No Access |
15. Attribute-Based Access Control
Section titled β15. Attribute-Based Access ControlβAttribute-Based Access Control uses attributes or tags to make authorisation decisions.
CloudNova can define attributes such as:
- Department
- Business unit
- Project
- Application
- Environment
- Cost centre
- Data classification
- Employment type
- Support region
Example Identity Attributes
Section titled βExample Identity AttributesβDepartment = FinanceBusinessUnit = PaymentsProject = MobileBankingEnvironment = ProductionCostCentre = FIN-220EmploymentType = EmployeeExample Resource Tags
Section titled βExample Resource TagsβDepartment = FinanceBusinessUnit = PaymentsProject = MobileBankingEnvironment = ProductionCostCentre = FIN-220ABAC policies can allow users to manage resources only when their identity attributes match resource tags.
16. Example ABAC Policy
Section titled β16. Example ABAC Policyβ{ "Version": "2012-10-17", "Statement": [ { "Sid": "ManageResourcesWithinAssignedProject", "Effect": "Allow", "Action": [ "ec2:StartInstances", "ec2:StopInstances", "ec2:DescribeInstances" ], "Resource": "*", "Condition": { "StringEquals": { "aws:ResourceTag/Project": "${aws:PrincipalTag/Project}", "aws:ResourceTag/Environment": "${aws:PrincipalTag/Environment}" } } } ]}Test ABAC policies carefully because missing or inconsistent tags may deny legitimate access or create unintended permissions.
17. RBAC and ABAC Together
Section titled β17. RBAC and ABAC TogetherβCloudNova will use a hybrid model.
RBAC will define the broad job function.
ABAC will restrict access to the correct projects, applications and environments.
Example:
Developer Role
+
Project = MobileBanking
+
Environment = Development
=
Developer can manage only MobileBanking development resources18. Temporary Credentials
Section titled β18. Temporary CredentialsβTemporary credentials are issued by AWS Security Token Service.
They include:
- Access key ID
- Secret access key
- Session token
- Expiration time
Temporary credentials reduce risk because they expire automatically.
They should be preferred for:
- Workforce access
- Cross-account access
- CI/CD pipelines
- EC2 workloads
- Containers
- Lambda functions
- External applications
- Emergency sessions
19. AWS Security Token Service
Section titled β19. AWS Security Token ServiceβAWS STS supports temporary access through operations such as:
- AssumeRole
- AssumeRoleWithSAML
- AssumeRoleWithWebIdentity
- GetSessionToken
- GetFederationToken
Example AssumeRole Workflow
Section titled βExample AssumeRole WorkflowβSecurity Engineer
β
Authenticates through IAM Identity Center
β
Receives Security Administrator Role
β
Assumes Incident Response Role
β
Receives Temporary Credentials
β
Performs Approved Response Action20. Cross-Account Access
Section titled β20. Cross-Account AccessβCloudNova security, network and platform teams require access across multiple accounts.
Cross-account access should use IAM roles rather than duplicate IAM users.
Example Security Access Architecture
Section titled βExample Security Access ArchitectureβSecurity Tooling Account
|
Security Engineer Role
|
AWS STS AssumeRole
|
Production Account
|
IncidentResponseRole
|
Approved Investigation and Containment Actions21. Cross-Account Role Components
Section titled β21. Cross-Account Role ComponentsβA cross-account role requires:
- A trust policy
- A permissions policy
- An authorised source principal
- Optional external ID
- Optional session tags
- Optional MFA condition
- Optional source-account restrictions
- CloudTrail logging
22. Example Cross-Account Trust Policy
Section titled β22. Example Cross-Account Trust Policyβ{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowSecurityAccountIncidentResponders", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::111122223333:role/CloudNovaIncidentResponder" }, "Action": "sts:AssumeRole", "Condition": { "Bool": { "aws:MultiFactorAuthPresent": "true" } } } ]}23. Example Incident Response Permissions
Section titled β23. Example Incident Response Permissionsβ{ "Version": "2012-10-17", "Statement": [ { "Sid": "ReadInvestigationData", "Effect": "Allow", "Action": [ "ec2:Describe*", "iam:Get*", "iam:List*", "cloudtrail:LookupEvents", "guardduty:GetFindings", "securityhub:GetFindings" ], "Resource": "*" }, { "Sid": "ContainCompromisedInstances", "Effect": "Allow", "Action": [ "ec2:ModifyInstanceAttribute", "ec2:ModifyNetworkInterfaceAttribute", "ec2:CreateSnapshot", "ec2:CreateTags" ], "Resource": "*" } ]}24. External ID
Section titled β24. External IDβAn external ID helps protect cross-account roles when third parties require access.
It can help reduce confused-deputy risks.
CloudNova must use:
- A unique external ID for each third party.
- A documented owner.
- Formal approval.
- Restricted permissions.
- Short session duration.
- Regular access reviews.
- CloudTrail monitoring.
25. Privileged Access Management
Section titled β25. Privileged Access ManagementβPrivileged access includes permissions that can materially affect CloudNovaβs environment.
Examples:
- Organisation administration
- IAM administration
- KMS administration
- Network administration
- Security-service administration
- Production changes
- Logging changes
- Incident containment
- Billing administration
Privileged access must be:
- Approved
- Time-bound
- Strongly authenticated
- Monitored
- Logged
- Reviewed
- Revocable
26. Just-in-Time Access
Section titled β26. Just-in-Time AccessβJust-in-Time access grants privileged permissions only when required.
Example Workflow
Section titled βExample WorkflowβEngineer Requests Production Administrator Access
β
Business Justification Submitted
β
Manager Approval
β
Security Approval
β
Temporary Group Membership
β
One-Hour Session
β
CloudTrail Monitoring
β
Access Automatically Removed
β
Review and Closure27. Emergency Access
Section titled β27. Emergency AccessβEmergency access is used when normal identity systems are unavailable or during a critical incident.
CloudNova will maintain a controlled break-glass process.
Emergency Access Requirements
Section titled βEmergency Access Requirementsβ- Dedicated emergency role or identity
- Strong MFA
- Credentials stored securely
- Access restricted to named responders
- Formal invocation criteria
- Immediate notification
- Complete logging
- Post-use credential rotation
- Mandatory post-incident review
- Regular testing
28. Emergency Access Workflow
Section titled β28. Emergency Access WorkflowβCritical Incident
β
Normal Access Unavailable or Insufficient
β
Incident Commander Approval
β
Emergency Access Activated
β
SOC and Management Notified
β
Privileged Session Monitored
β
Incident Action Completed
β
Access Revoked
β
Credentials Rotated
β
Post-Incident Review29. Example Emergency Role Trust Policy
Section titled β29. Example Emergency Role Trust Policyβ{ "Version": "2012-10-17", "Statement": [ { "Sid": "EmergencyAdministration", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::111122223333:role/CloudNovaEmergencyAccessBroker" }, "Action": "sts:AssumeRole", "Condition": { "Bool": { "aws:MultiFactorAuthPresent": "true" }, "NumericLessThanEquals": { "sts:DurationSeconds": "1800" } } } ]}30. Machine Identity Architecture
Section titled β30. Machine Identity ArchitectureβMachine identities must not use shared human credentials.
Application Workload
β
AWS-Native Identity Mechanism
β
IAM Role
β
Temporary Credentials
β
Approved AWS Resources31. EC2 Workload Identity
Section titled β31. EC2 Workload IdentityβEC2 applications should use IAM roles attached through instance profiles.
Avoid:
- Access keys in configuration files
- Access keys in user data
- Access keys in environment variables
- Shared credentials between instances
32. Lambda Workload Identity
Section titled β32. Lambda Workload IdentityβEvery Lambda function should use a dedicated execution role.
The execution role should include only the permissions required by the function.
Avoid using one shared Lambda role across unrelated functions.
33. ECS Task Roles
Section titled β33. ECS Task RolesβECS workloads should separate:
- Task execution role
- Application task role
The task execution role supports ECS operations such as pulling images and writing logs.
The task role provides the applicationβs AWS permissions.
34. EKS Workload Identity
Section titled β34. EKS Workload IdentityβEKS workloads should use workload-specific identities rather than node-level credentials.
Possible approaches include:
- EKS Pod Identity
- IAM Roles for Service Accounts
- Kubernetes service accounts
- OIDC federation
Each workload should receive only the permissions it requires.
35. GitHub Actions and OpenID Connect
Section titled β35. GitHub Actions and OpenID ConnectβCloudNova CI/CD pipelines should use OIDC federation instead of storing long-term AWS access keys in GitHub.
Architecture
Section titled βArchitectureβGitHub Actions Workflow
β
GitHub OIDC Token
β
AWS IAM OIDC Provider
β
Deployment Role
β
Temporary AWS Credentials
β
Approved Deployment Actions36. Example GitHub OIDC Trust Policy
Section titled β36. Example GitHub OIDC Trust Policyβ{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowApprovedGitHubRepository", "Effect": "Allow", "Principal": { "Federated": "arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringEquals": { "token.actions.githubusercontent.com:aud": "sts.amazonaws.com" }, "StringLike": { "token.actions.githubusercontent.com:sub": "repo:cloudnova/security-platform:*" } } } ]}37. Secrets Management
Section titled β37. Secrets ManagementβIAM roles should be used wherever possible.
Where credentials, API keys or passwords are genuinely required, use:
- AWS Secrets Manager
- AWS Systems Manager Parameter Store
- KMS encryption
- Automatic rotation
- Fine-grained access policies
- Access logging
- Secret ownership
Never store secrets in:
- Source code
- Container images
- Public repositories
- User-data scripts
- Shared documents
- Unencrypted files
- CI/CD logs
38. IAM Policies
Section titled β38. IAM PoliciesβCloudNova must understand the policy evaluation model.
Policy types may include:
- Identity-based policies
- Resource-based policies
- Permissions boundaries
- Service Control Policies
- Session policies
- Access Control Lists
- Resource Control Policies where applicable
39. Effective Permissions
Section titled β39. Effective PermissionsβEffective access depends on the combined result of multiple policy layers.
Organisation Policies
β
Permissions Boundary
β
Identity Policy
β
Resource Policy
β
Session Policy
β
Conditions
β
Explicit Deny Check
β
Final Authorisation DecisionAn explicit deny overrides an allow.
40. Permissions Boundaries
Section titled β40. Permissions BoundariesβPermissions boundaries define the maximum permissions that an IAM role or user can receive.
CloudNova can use permissions boundaries to allow development teams to create roles without allowing them to create unrestricted administrative roles.
Example Use Case
Section titled βExample Use CaseβDeveloper creates an application role
β
Permissions boundary applied
β
Role can access approved application services
β
Role cannot modify IAM, Organizations, CloudTrail or KMS administration41. IAM Conditions
Section titled β41. IAM ConditionsβConditions improve policy precision.
Useful condition keys include:
- aws:RequestedRegion
- aws:PrincipalArn
- aws:PrincipalTag
- aws:ResourceTag
- aws:SourceAccount
- aws:SourceArn
- aws:MultiFactorAuthPresent
- aws:CurrentTime
- aws:SecureTransport
- sts:ExternalId
42. Identity Threat Model
Section titled β42. Identity Threat Modelβ| Threat | Potential Impact | Primary Control |
|---|---|---|
| Credential theft | Unauthorised AWS access | MFA and temporary credentials |
| Password spraying | Account compromise | Identity-provider protections |
| Access-key exposure | Workload compromise | IAM roles and secret scanning |
| Privilege escalation | Administrative control | Least privilege and monitoring |
| Session-token theft | Temporary account takeover | Short sessions and context controls |
| Rogue administrator | Deliberate misuse | Separation of duties and logging |
| Cross-account abuse | Production compromise | Restricted trust policies |
| Contractor over-access | Data exposure | Time-bound assignments |
| Orphaned identities | Persistent unauthorised access | Automated leaver process |
| CI/CD credential leak | Deployment compromise | OIDC federation |
| Role chaining abuse | Privilege expansion | Trust-policy restrictions |
| Emergency-account misuse | Organisation-wide impact | Strong governance and monitoring |
43. Joiner, Mover and Leaver Process
Section titled β43. Joiner, Mover and Leaver ProcessβWhen a new employee joins:
- Corporate identity is created.
- Required MFA is enrolled.
- Manager confirms job role.
- Group membership is assigned.
- IAM Identity Center access is provisioned.
- Access is validated.
- User receives security training.
- Evidence is recorded.
When an employee changes role:
- Existing access is reviewed.
- Unnecessary groups are removed.
- New groups are approved.
- Privileged access is reassessed.
- Account assignments are updated.
- Access is validated.
- Evidence is recorded.
When an employee leaves:
- Corporate identity is disabled.
- Active sessions are revoked where possible.
- Group memberships are removed.
- AWS assignments are removed.
- IAM access keys are disabled and deleted.
- Owned service accounts are reassigned.
- Emergency access is reviewed.
- Evidence is recorded.
44. Contractor Access
Section titled β44. Contractor AccessβContractor access must include:
- Named individual identity
- Sponsoring manager
- Start and expiry dates
- Restricted group membership
- Least-privilege permission set
- Shorter session duration
- No permanent production administration
- Regular review
- Automatic expiry
- Immediate removal when the engagement ends
45. Access Reviews
Section titled β45. Access ReviewsβCloudNova will perform:
- Monthly privileged-access reviews
- Quarterly production-access reviews
- Quarterly cross-account role reviews
- Quarterly contractor-access reviews
- Six-monthly general workforce reviews
- Annual architecture reviews
- Immediate reviews after security incidents
Access Review Questions
Section titled βAccess Review Questionsβ- Does the user still require access?
- Is the access level appropriate?
- Is production access justified?
- Is privileged access time-bound?
- Is the user still employed?
- Is the contractor engagement active?
- Are role permissions still used?
- Are access keys present?
- Are emergency roles tested?
- Are any assignments made directly to users?
46. Identity Monitoring
Section titled β46. Identity MonitoringβCloudNova will monitor:
- Root-user activity
- Console sign-ins
- Failed authentication attempts
- MFA changes
- IAM policy changes
- Role creation
- Trust-policy changes
- Access-key creation
- AssumeRole events
- Permission-set changes
- Identity Center assignments
- Emergency-access activity
- Unusual geographic access
- Privilege-escalation attempts
47. Identity Logging Architecture
Section titled β47. Identity Logging ArchitectureβCorporate Identity Provider Logs
|
IAM Identity Center Events
|
AWS CloudTrail
|
Security Lake
|
SIEM
|
SOC Monitoring
|
Investigation and Response48. IAM Access Analyzer
Section titled β48. IAM Access AnalyzerβIAM Access Analyzer can help identify:
- Resources shared externally
- Unused access
- Public access
- Cross-account access
- Policy validation issues
- Overly broad permissions
CloudNova should use it to support:
- Least-privilege reviews
- External-access reviews
- Policy validation
- Role analysis
- Access-remediation planning
49. Enterprise Identity Governance
Section titled β49. Enterprise Identity GovernanceβCloudNova must govern:
- Identity ownership
- Group ownership
- Permission-set ownership
- Role ownership
- Policy approval
- Privileged access
- Emergency access
- External access
- Machine identities
- Access reviews
- Exception management
- Identity evidence
- Role decommissioning
50. Identity Architecture Review Lifecycle
Section titled β50. Identity Architecture Review LifecycleβIdentity Requirement
β
Risk Assessment
β
Architecture Design
β
Security Review
β
Implementation
β
Validation
β
Access Monitoring
β
Periodic Review
β
Remediation
β
Continuous Improvementπ Hands-on Project Labs
Section titled βπ Hands-on Project LabsβLab 01 β Conduct the Enterprise Identity Assessment
Section titled βLab 01 β Conduct the Enterprise Identity AssessmentβMission
Section titled βMissionβAssess CloudNovaβs current human and machine identities.
Student Actions
Section titled βStudent ActionsβCreate:
02-Enterprise-Identity-Zero-Trust/βββ 01-Assessment/ βββ Current-State-Identity-Assessment.mdDocument:
- Existing identity providers
- IAM users
- IAM roles
- Access keys
- Identity Center status
- MFA coverage
- Privileged groups
- Cross-account roles
- CI/CD identities
- Service accounts
- Contractor identities
- Emergency identities
- Access-review process
- Identity risks
Evidence
Section titled βEvidenceβ- Current-state identity diagram
- Identity inventory
- High-risk findings
- Remediation recommendations
Lab 02 β Design IAM Identity Center
Section titled βLab 02 β Design IAM Identity CenterβMission
Section titled βMissionβCreate CloudNovaβs central workforce-access architecture.
Student Actions
Section titled βStudent ActionsβDocument:
- Identity source
- Federation protocol
- User provisioning
- Group synchronisation
- MFA ownership
- Session durations
- Account assignments
- Delegated administration
- Logging
- Business continuity
Required Diagram
Section titled βRequired DiagramβEnterprise Identity Provider
β
IAM Identity Center
β
Groups
β
Permission Sets
β
AWS Accounts
β
Temporary Role SessionsLab 03 β Build the Permission-Set Catalogue
Section titled βLab 03 β Build the Permission-Set CatalogueβMission
Section titled βMissionβCreate standard enterprise permission sets.
Required Permission Sets
Section titled βRequired Permission Setsβ- PlatformAdministrator
- SecurityAdministrator
- SOCAnalystReadOnly
- IncidentResponder
- NetworkAdministrator
- DeveloperPowerUser
- ProductionReadOnly
- AuditorReadOnly
- BillingViewer
- EmergencyAdministrator
For every permission set, document:
- Business purpose
- Target users
- Target accounts
- Permissions
- Session duration
- Approval owner
- Review frequency
- Restrictions
Lab 04 β Build the Enterprise RBAC Matrix
Section titled βLab 04 β Build the Enterprise RBAC MatrixβMission
Section titled βMissionβMap enterprise roles to AWS account access.
Student Actions
Section titled βStudent ActionsβCreate:
02-Enterprise-Identity-Zero-Trust/βββ 03-RBAC/ βββ RBAC-Model.md βββ Account-Assignment-Matrix.mdInclude:
- Job roles
- Enterprise groups
- Permission sets
- Account types
- Access levels
- Approval requirements
- Session durations
Lab 05 β Design the Enterprise ABAC Model
Section titled βLab 05 β Design the Enterprise ABAC ModelβMission
Section titled βMissionβCreate a tag-based access model.
Required Attributes
Section titled βRequired Attributesβ- Department
- BusinessUnit
- Project
- Application
- Environment
- CostCentre
- DataClassification
- EmploymentType
Student Actions
Section titled βStudent ActionsβDocument:
- Identity attributes
- Resource tags
- Tag ownership
- Tag enforcement
- Example policies
- Missing-tag behaviour
- Exception process
- Testing approach
Lab 06 β Implement Cross-Account Access
Section titled βLab 06 β Implement Cross-Account AccessβMission
Section titled βMissionβDesign secure cross-account access from the Security Tooling account to a workload account.
Student Actions
Section titled βStudent ActionsβCreate:
- Source role
- Destination role
- Trust policy
- Permissions policy
- Session-duration standard
- MFA requirement
- CloudTrail validation
- Role-assumption test
CLI Example
Section titled βCLI Exampleβaws sts assume-role \ --role-arn arn:aws:iam::444455556666:role/CloudNovaIncidentResponseRole \ --role-session-name incident-IR-2026-001Lab 07 β Replace Long-Term CI/CD Credentials
Section titled βLab 07 β Replace Long-Term CI/CD CredentialsβMission
Section titled βMissionβDesign a GitHub Actions OIDC integration.
Student Actions
Section titled βStudent ActionsβDocument:
- OIDC provider
- Approved repository
- Approved branch or environment
- Deployment role
- Trust policy
- Permissions policy
- Session duration
- CloudTrail verification
- Credential-removal plan
Evidence
Section titled βEvidenceβ- Trust-policy file
- Deployment-role policy
- Workflow architecture
- Successful role-assumption evidence
Lab 08 β Build the Privileged-Access Workflow
Section titled βLab 08 β Build the Privileged-Access WorkflowβMission
Section titled βMissionβDesign Just-in-Time access for production administration.
Student Actions
Section titled βStudent ActionsβCreate a workflow containing:
- Access request
- Business justification
- Manager approval
- Security approval
- Temporary group assignment
- MFA verification
- Session monitoring
- Automatic expiry
- Post-access review
Required Deliverable
Section titled βRequired DeliverableβPrivileged-Access-Runbook.mdLab 09 β Build the Emergency-Access Procedure
Section titled βLab 09 β Build the Emergency-Access ProcedureβMission
Section titled βMissionβCreate and test the CloudNova break-glass process.
Required Sections
Section titled βRequired Sectionsβ- Invocation criteria
- Authorised personnel
- Credential storage
- MFA requirements
- Approval process
- Notification process
- Logging
- Credential rotation
- Post-incident review
- Quarterly test plan
Lab 10 β Conduct the Zero Trust Identity Review
Section titled βLab 10 β Conduct the Zero Trust Identity ReviewβMission
Section titled βMissionβPresent the complete identity architecture to the CloudNova Security Architecture Review Board.
Review Participants
Section titled βReview Participantsβ- Chief Information Security Officer
- Identity Architect
- Cloud Security Architect
- Cloud Platform Lead
- SOC Manager
- Internal Audit
- Human Resources
- Compliance Manager
- Application Owners
Review Topics
Section titled βReview Topicsβ- Federation
- MFA
- Identity lifecycle
- Least privilege
- RBAC
- ABAC
- Privileged access
- Emergency access
- Machine identities
- Cross-account access
- Monitoring
- Compliance
- Business continuity
- Identity risks
π» AWS Console Walkthrough
Section titled βπ» AWS Console WalkthroughβStudents should explore or configure:
- IAM Identity Center
- Identity source
- Users
- Groups
- Permission sets
- AWS account assignments
- Session durations
- IAM roles
- IAM policies
- Trust policies
- IAM Access Analyzer
- CloudTrail role-assumption events
- IAM credential reports
π» AWS CLI Exercises
Section titled βπ» AWS CLI ExercisesβRun these commands only in an authorised training or sandbox environment.
# Display the current identityaws sts get-caller-identity
# List IAM rolesaws iam list-roles
# List IAM usersaws iam list-users
# List customer-managed IAM policiesaws iam list-policies \ --scope Local
# List access keys for a useraws iam list-access-keys \ --user-name USER_NAME
# Generate an IAM credential reportaws iam generate-credential-report
# Retrieve the IAM credential reportaws iam get-credential-report
# List IAM Identity Center instancesaws sso-admin list-instances
# List permission setsaws sso-admin list-permission-sets \ --instance-arn INSTANCE_ARN
# Describe a permission setaws sso-admin describe-permission-set \ --instance-arn INSTANCE_ARN \ --permission-set-arn PERMISSION_SET_ARN
# List AWS accountsaws organizations list-accounts
# List account assignmentsaws sso-admin list-account-assignments \ --instance-arn INSTANCE_ARN \ --account-id ACCOUNT_ID \ --permission-set-arn PERMISSION_SET_ARNAssume a Cross-Account Role
Section titled βAssume a Cross-Account Roleβaws sts assume-role \ --role-arn arn:aws:iam::444455556666:role/CloudNovaAuditRole \ --role-session-name cloudnova-audit-reviewSimulate Policy Permissions
Section titled βSimulate Policy Permissionsβaws iam simulate-principal-policy \ --policy-source-arn arn:aws:iam::111122223333:role/CloudNovaDeveloperRole \ --action-names s3:GetObject s3:DeleteObject iam:CreateUserValidate an IAM Policy
Section titled βValidate an IAM Policyβaws accessanalyzer validate-policy \ --policy-type IDENTITY_POLICY \ --policy-document file://developer-policy.jsonList External Access Analyzer Findings
Section titled βList External Access Analyzer Findingsβaws accessanalyzer list-findings-v2 \ --analyzer-arn ANALYZER_ARNβ Technical Verification Checklist
Section titled ββ Technical Verification ChecklistβFederation
Section titled βFederationβ- Enterprise identity source is documented.
- Federation protocol is defined.
- MFA ownership is defined.
- User and group provisioning is documented.
- Identity-provider failure procedures exist.
IAM Identity Center
Section titled βIAM Identity Centerβ- IAM Identity Center architecture is documented.
- Enterprise groups are defined.
- Permission sets are documented.
- Account assignments are approved.
- Session durations are appropriate.
- Direct user assignments are minimised.
RBAC and ABAC
Section titled βRBAC and ABACβ- RBAC matrix is complete.
- ABAC attributes are documented.
- Resource-tag standards are defined.
- Missing-tag behaviour is documented.
- Tag ownership is assigned.
- Policies have been tested.
Privileged Access
Section titled βPrivileged Accessβ- Privileged roles are identified.
- Just-in-Time workflow is documented.
- Production access requires approval.
- Emergency access is documented.
- Emergency access is regularly tested.
- Privileged sessions are monitored.
Machine Identities
Section titled βMachine Identitiesβ- EC2 workloads use IAM roles.
- Lambda functions use dedicated execution roles.
- ECS tasks use task roles.
- EKS workloads use workload identities.
- CI/CD uses temporary credentials.
- Long-term keys have documented exceptions.
Governance
Section titled βGovernanceβ- Joiner process is documented.
- Mover process is documented.
- Leaver process is documented.
- Contractor access has expiry dates.
- Access-review schedule exists.
- Role ownership is recorded.
- Policy exceptions are documented.
Monitoring
Section titled βMonitoringβ- CloudTrail captures IAM activity.
- Identity-provider events are monitored.
- AssumeRole events are reviewed.
- Root-user activity is monitored.
- Access-key creation is monitored.
- Permission changes generate alerts.
π§ Troubleshooting Guide
Section titled βπ§ Troubleshooting GuideβIssue 1 β User Cannot Access an Assigned AWS Account
Section titled βIssue 1 β User Cannot Access an Assigned AWS AccountβPossible causes:
- User is not in the correct identity-provider group.
- Group synchronisation has not completed.
- Account assignment is missing.
- Permission set has not been provisioned.
- User session is stale.
Resolution:
- Verify the userβs group membership.
- Confirm SCIM synchronisation.
- Review the AWS account assignment.
- Reprovision the permission set.
- Ask the user to sign out and begin a new session.
- Review CloudTrail and IAM Identity Center events.
Issue 2 β AssumeRole Returns Access Denied
Section titled βIssue 2 β AssumeRole Returns Access DeniedβPossible causes:
- Source principal is not trusted.
- Permissions do not allow sts:AssumeRole.
- MFA condition is not satisfied.
- External ID is incorrect.
- SCP blocks the action.
- Permissions boundary limits access.
Resolution:
- Review the destination trust policy.
- Review the source-role permissions.
- Verify MFA.
- Confirm the external ID.
- Review SCPs.
- Review permissions boundaries.
- Check CloudTrail for the denial context.
Issue 3 β ABAC Policy Does Not Allow Access
Section titled βIssue 3 β ABAC Policy Does Not Allow AccessβPossible causes:
- Principal tag is missing.
- Resource tag is missing.
- Tag values do not match.
- Incorrect condition operator.
- Session tags were not passed.
- Explicit deny applies.
Resolution:
- Inspect principal tags.
- Inspect resource tags.
- Confirm exact tag spelling and case.
- Review policy conditions.
- Validate session-tag configuration.
- Use policy simulation.
Issue 4 β GitHub OIDC Role Assumption Fails
Section titled βIssue 4 β GitHub OIDC Role Assumption FailsβPossible causes:
- OIDC provider is missing.
- Audience condition is incorrect.
- Repository subject condition is incorrect.
- Workflow lacks token permission.
- Role trust policy is too restrictive.
- Branch or environment does not match.
Resolution:
- Confirm the IAM OIDC provider.
- Review the token audience.
- Review the subject claim.
- Confirm workflow permissions.
- Review repository, branch and environment restrictions.
- Review CloudTrail role-assumption events.
Issue 5 β Access Remains After Employee Departure
Section titled βIssue 5 β Access Remains After Employee DepartureβPossible causes:
- Corporate identity was not disabled.
- SCIM synchronisation failed.
- Direct account assignment remains.
- Local IAM user exists.
- Access key remains active.
- Emergency group membership was not removed.
Resolution:
- Disable the enterprise identity.
- Remove group memberships.
- Remove direct assignments.
- Review local IAM users.
- Disable and delete access keys.
- Revoke active sessions where possible.
- Run a complete leaver-access review.
Issue 6 β Privileged Role Has Excessive Permissions
Section titled βIssue 6 β Privileged Role Has Excessive PermissionsβPossible causes:
- AWS-managed administrator policy was used.
- Custom policy contains wildcards.
- Permission boundary is absent.
- Role accumulated permissions over time.
- Access requirements were not reviewed.
Resolution:
- Analyse CloudTrail usage.
- Use IAM Access Analyzer.
- Create a least-privilege policy.
- Add a permissions boundary.
- Remove unused permissions.
- Perform a peer review.
- Document approved exceptions.
π’ Enterprise Best Practices
Section titled βπ’ Enterprise Best PracticesβCloudNova identity standards:
- Use IAM Identity Center for workforce access.
- Integrate with the enterprise identity provider.
- Require strong MFA.
- Use temporary credentials.
- Avoid IAM users wherever possible.
- Never share identities.
- Assign access through groups.
- Use separate permission sets for separate duties.
- Keep privileged sessions short.
- Apply least privilege.
- Use RBAC and ABAC together.
- Use dedicated workload roles.
- Use OIDC for CI/CD systems.
- Avoid storing AWS access keys.
- Restrict cross-account trust policies.
- Require approval for production access.
- Use Just-in-Time privileged access.
- Maintain emergency-access procedures.
- Monitor all role assumptions.
- Review access regularly.
- Remove access immediately when no longer required.
- Assign owners to all roles and permission sets.
- Use IAM Access Analyzer.
- Validate IAM policies before deployment.
- Record and review identity exceptions.
π« Common Mistakes
Section titled βπ« Common Mistakesβ- Creating IAM users in every AWS account.
- Using permanent administrator access keys.
- Assigning access directly to individual users.
- Reusing one role for unrelated teams.
- Granting production administrator access permanently.
- Using shared service accounts.
- Failing to require MFA.
- Using broad wildcard permissions.
- Ignoring trust-policy security.
- Allowing external access without an external ID.
- Storing AWS keys in GitHub.
- Giving all EKS pods the node role.
- Sharing one Lambda execution role.
- Failing to remove former employees.
- Not expiring contractor access.
- Treating Zero Trust as a product rather than an operating model.
- Relying only on network location.
- Failing to monitor role assumptions.
- Not testing emergency access.
- Leaving unused roles and policies active.
- Ignoring permission-set session duration.
- Using tags without governance.
- Applying ABAC without mandatory tagging.
- Failing to document identity ownership.
π¦ Required Project Deliverables
Section titled βπ¦ Required Project DeliverablesβStudents must create the following project files:
CloudNova-Enterprise-Security/
βββ 02-Enterprise-Identity-Zero-Trust/ βββ README.md βββ 01-Assessment/ β βββ Current-State-Identity-Assessment.md β βββ Identity-Inventory.md β βββ Identity-Risk-Assessment.md βββ 02-Architecture/ β βββ Enterprise-Identity-Architecture.md β βββ IAM-Identity-Center-Design.md β βββ Federation-Design.md β βββ Zero-Trust-Architecture.md βββ 03-RBAC/ β βββ RBAC-Model.md β βββ Group-Catalogue.md β βββ Permission-Set-Catalogue.md β βββ Account-Assignment-Matrix.md βββ 04-ABAC/ β βββ ABAC-Design.md β βββ Identity-Attributes.md β βββ Resource-Tagging-Model.md β βββ Example-Policies/ βββ 05-Privileged-Access/ β βββ Privileged-Access-Policy.md β βββ Just-in-Time-Access-Workflow.md β βββ Emergency-Access-Runbook.md β βββ Privileged-Access-Review.md βββ 06-Machine-Identity/ β βββ Workload-Identity-Standard.md β βββ EC2-and-Lambda-Roles.md β βββ EKS-Identity-Design.md β βββ GitHub-OIDC-Design.md βββ 07-Cross-Account/ β βββ Cross-Account-Access-Model.md β βββ Trust-Policy-Standards.md β βββ Cross-Account-Access-Matrix.md βββ 08-Governance/ β βββ Joiner-Mover-Leaver-Process.md β βββ Contractor-Access-Standard.md β βββ Access-Review-Procedure.md β βββ Identity-Exception-Process.md β βββ Role-Ownership-Register.md βββ 09-Monitoring/ β βββ Identity-Monitoring-Strategy.md β βββ Identity-Alert-Catalogue.md β βββ Identity-Investigation-Runbook.md βββ 10-Evidence/ β βββ Screenshots/ β βββ CLI-Outputs/ β βββ Policy-Validation/ β βββ Verification-Checklist.md βββ 11-Reports/ βββ Identity-Architecture-Review.md βββ Executive-Identity-Strategy.md βββ Risk-Register.md βββ Lessons-Learned.mdπ§ͺ DIY Enterprise Challenge
Section titled βπ§ͺ DIY Enterprise ChallengeβCloudNova acquires a financial-technology company called SecurePay Systems.
SecurePay currently has:
- 40 AWS accounts
- 600 employees
- 120 IAM users
- 75 active access keys
- Local administrator users in production accounts
- Several shared service accounts
- GitHub pipelines using permanent AWS credentials
- No IAM Identity Center
- No central MFA standard
- Contractors with permanent production access
- Undocumented cross-account roles
- No formal access-review process
- No emergency-access procedure
- Multiple workloads using administrator roles
Design a complete identity migration and Zero Trust implementation plan.
Your submission must include:
- Current-state identity assessment
- IAM user and access-key remediation plan
- Identity-provider integration design
- IAM Identity Center design
- Group catalogue
- Permission-set catalogue
- RBAC matrix
- ABAC design
- Production-access workflow
- Contractor-access remediation
- GitHub OIDC migration
- Machine-identity standard
- Cross-account access review
- Emergency-access procedure
- Joiner, mover and leaver process
- Access-review schedule
- Identity threat model
- Migration sequence
- Rollback plan
- Executive summary
π Knowledge Check
Section titled βπ Knowledge CheckβQuestion 1
Section titled βQuestion 1βWhat is the primary objective of Zero Trust?
Answer:
To verify every access request explicitly, apply least privilege and avoid automatically trusting users or devices based only on location.
Question 2
Section titled βQuestion 2βWhy should enterprise users access AWS through IAM Identity Center?
Answer:
It centralises workforce access, supports federation, uses temporary sessions and simplifies access across multiple AWS accounts.
Question 3
Section titled βQuestion 3βWhat is the difference between RBAC and ABAC?
Answer:
RBAC grants access based on job roles, while ABAC uses identity and resource attributes such as department, project and environment.
Question 4
Section titled βQuestion 4βWhy should RBAC and ABAC be used together?
Answer:
RBAC establishes broad job-function permissions, while ABAC restricts those permissions to the correct applications, projects or environments.
Question 5
Section titled βQuestion 5βWhy are temporary credentials safer than long-term access keys?
Answer:
Temporary credentials expire automatically and reduce the period during which stolen credentials can be abused.
Question 6
Section titled βQuestion 6βWhat service issues temporary AWS credentials?
Answer:
AWS Security Token Service.
Question 7
Section titled βQuestion 7βWhat is the purpose of an IAM role trust policy?
Answer:
It defines which principals are allowed to assume the role and under which conditions.
Question 8
Section titled βQuestion 8βWhat is a permission set?
Answer:
A permission set defines the permissions and session settings that IAM Identity Center provisions as a role in assigned AWS accounts.
Question 9
Section titled βQuestion 9βWhy should access be assigned through groups?
Answer:
Group-based access is easier to govern, review and remove than direct assignments to individual users.
Question 10
Section titled βQuestion 10βWhat is Just-in-Time access?
Answer:
It provides privileged permissions only when required, usually after approval and for a limited duration.
Question 11
Section titled βQuestion 11βWhat is emergency or break-glass access?
Answer:
It is tightly controlled privileged access used when normal access mechanisms are unavailable or insufficient during a critical incident.
Question 12
Section titled βQuestion 12βWhat should happen after emergency access is used?
Answer:
The session should be reviewed, credentials rotated, evidence preserved and a post-incident review completed.
Question 13
Section titled βQuestion 13βHow should EC2 applications receive AWS permissions?
Answer:
Through an IAM role attached to the EC2 instance using an instance profile.
Question 14
Section titled βQuestion 14βHow should GitHub Actions access AWS?
Answer:
Through OIDC federation and a restricted IAM role that issues temporary credentials.
Question 15
Section titled βQuestion 15βWhat is the purpose of SCIM?
Answer:
SCIM automates user and group provisioning, updates and deactivation between identity systems.
Question 16
Section titled βQuestion 16βWhat is the purpose of an external ID?
Answer:
It helps protect cross-account roles used by third parties from confused-deputy risks.
Question 17
Section titled βQuestion 17βWhat is an IAM permissions boundary?
Answer:
It defines the maximum permissions an IAM user or role can receive, even if broader permissions are attached.
Question 18
Section titled βQuestion 18βWhat happens when an explicit deny and an allow both apply?
Answer:
The explicit deny overrides the allow.
Question 19
Section titled βQuestion 19βWhy must production access be reviewed regularly?
Answer:
Roles and responsibilities change, so previously justified access may become excessive or unnecessary.
Question 20
Section titled βQuestion 20βWhat is the purpose of the joiner, mover and leaver process?
Answer:
It ensures access is correctly granted, changed and removed throughout an individualβs employment lifecycle.
Question 21
Section titled βQuestion 21βWhy should contractors have expiry dates?
Answer:
Automatic expiry reduces the risk of contractor access remaining active after the engagement ends.
Question 22
Section titled βQuestion 22βWhy should separate Lambda functions use separate execution roles?
Answer:
Dedicated roles reduce blast radius and allow each function to receive only the permissions it requires.
Question 23
Section titled βQuestion 23βWhy should EKS workloads avoid using node-role permissions?
Answer:
Node-role credentials may give multiple workloads excessive access. Workload-specific identities provide stronger isolation.
Question 24
Section titled βQuestion 24βHow can IAM Access Analyzer support least privilege?
Answer:
It can identify external access, unused permissions, public sharing and policy-validation issues.
Question 25
Section titled βQuestion 25βWhat is the final outcome of this project?
Answer:
A secure, scalable and auditable enterprise identity architecture based on federation, temporary credentials, least privilege, Zero Trust and continuous governance.
π‘ Key Takeaways
Section titled βπ‘ Key TakeawaysβAfter completing this lesson, you should understand that enterprise identity is not limited to creating IAM policies.
A mature identity platform combines:
- Enterprise federation
- IAM Identity Center
- Strong MFA
- Temporary credentials
- Role-Based Access Control
- Attribute-Based Access Control
- Cross-account roles
- Privileged-access management
- Emergency access
- Machine identities
- Identity monitoring
- Access reviews
- Automated identity lifecycle management
A strong identity architecture helps CloudNova ensure that the correct person or workload receives the correct access to the correct resource for the correct period of time.
π Project Completion Criteria
Section titled βπ Project Completion CriteriaβYou have completed this project when:
- The current identity environment has been assessed.
- The federation architecture is documented.
- IAM Identity Center is designed.
- Enterprise groups are defined.
- Permission sets are documented.
- The RBAC matrix is complete.
- The ABAC model is complete.
- Cross-account access is documented.
- Privileged-access workflows exist.
- Emergency access is documented and tested.
- Machine-identity standards are complete.
- GitHub OIDC integration is designed.
- Joiner, mover and leaver processes are documented.
- Access-review procedures exist.
- Identity monitoring is defined.
- The identity threat model is complete.
- The architecture review has been conducted.
- All evidence is stored in the project repository.
- The executive identity strategy is ready for presentation.
π Next Lesson
Section titled βπ Next Lessonββ‘οΈ Project 03 β Enterprise Network Security Project
In the next lesson, you will design CloudNovaβs enterprise network-security architecture using:
- Multi-VPC architecture
- AWS Transit Gateway
- Centralised inspection
- AWS Network Firewall
- Route 53 Resolver
- VPC endpoints
- Private connectivity
- Hybrid networking
- Network segmentation
- Controlled internet egress
- Network monitoring
- Zero Trust network principles