genaipros← The path
Line D · CloudC2 · Identity & Security
Cloud for GenAI · Line D · C2 of the curriculum

Identity & Security

The perimeter is gone. Every request now reduces to one triangle — principal → policy → resource — and you are about to learn it in three dialects.

AWSAZUREGCP

On-premises, security had a shape you could point at: a building, a firewall, a network edge. Inside was trusted, outside was not. Cloud dissolved that shape. Your storage bucket has a public DNS name. Your database answers on the internet. Your container in Frankfurt talks to an API in Oregon over somebody else's fibre. There is no edge left to defend.

What replaced it is identity. Every single request — a person clicking a console button, a training job reading model weights, one microservice calling another — is now resolved by asking the same three questions, in the same order, on all three clouds:

The triangle, in three dialects the one diagram to keep

This is the whole stage in one picture. Click any element for the translation.

WHO IS ASKING PRINCIPAL human user · workload service · AI agent authenticated identity WHAT IS ALLOWED POLICY the rule, evaluated fresh on every call allow / deny / boundary ON WHAT RESOURCE bucket · VM · secret endpoint · GPU quota addressed by unique ID 1. proves who it is 2. rule is evaluated 3. request proceeds — or does not AWS IAM user / role JSON policy ×6 types ARN AZURE Entra principal role assignment @ scope resource ID GCP principal (member) binding in allow policy relative resource name
Click any boxThree vertices, three dialects. Every access-control question you will ever ask on any cloud is a question about one of these three — or about the rule that joins them.
The identity triangle. Learn it once vendor-neutral; the three coloured boxes are just naming.

Same concept, three names the identity Rosetta Stone

C1 gave you the hierarchy translation. This is the identity one. Policies attach at the hierarchy levels you already know — that is the join between the two stages.

Vendor-neutral conceptAWSAzureGCP
Human identity storeIAM Identity Center (or an external IdP)Microsoft Entra IDCloud Identity / Google Workspace
Long-lived human identityIAM user discouragedEntra userGoogle Account
Assumable identityIAM roleno true equivalent — use PIM eligibilityservice account impersonation
Workload identity (VM)instance profile → IAM rolemanaged identity (system / user-assigned)attached service account
Workload identity (K8s)EKS Pod Identity preferred / IRSAEntra Workload ID for AKSWorkload Identity Federation for GKE
Grant of permissionidentity-based policy (JSON)role assignment (principal + role def + scope)binding in the allow policy
Permission attached to the thingresource-based policy (bucket / key policy)— mostly absent; RBAC scope does this joballow policy on the resource node
Explicit refusal"Effect":"Deny" in any policydeny assignmentdeny policy newer
Ceiling on a principalpermissions boundary— approximated by scope + deny assignmentprincipal access boundary (PAB) newest
Org-wide guardrail on principalsservice control policy (SCP)Azure Policy at management-group scopeorganization policy constraint
Org-wide guardrail on resourcesresource control policy (RCP) Nov 2024Azure Policy deny effectorg policy + deny policy
Attribute-based accesscondition keys on tags (ABAC)ABAC conditions on role assignmentsIAM Conditions (CEL) on bindings
Short-lived credential brokerAWS STSEntra token endpoint / IMDSSecurity Token Service + metadata server
Secret storeSecrets Manager / SSM Parameter StoreKey VaultSecret Manager
Just-in-time elevationrole session + session policyPrivileged Identity Management (PIM)Privileged Access Manager (PAM)
Posture / findings hubSecurity Hub re-launched 2025Microsoft Defender for CloudSecurity Command Center
Threat detectionAmazon GuardDutyDefender for Cloud plansEvent Threat Detection (SCC Premium)
Least-privilege analyserIAM Access AnalyzerEntra Permissions ManagementIAM Recommender / Policy Analyzer
Control-plane audit logAWS CloudTrailAzure Activity Log + Entra sign-in logsCloud Audit Logs (Admin Activity)
AI-agent identityIAM role per agent (no distinct type)Entra Agent ID GA 2026agent identities + pools 2026

Two rows to notice now, because they shape everything later. Azure has no IAM role in the AWS sense — nothing you "assume"; you are your Entra identity and permissions arrive by scope. And Azure has almost no resource-based policies — the job AWS gives bucket policies, Azure gives to RBAC scope. Those two absences explain most of the friction people hit moving between the two.

Three habits this stage installs

1 · Identity is the perimeter

Stop asking "is this inside the network?". Ask "which principal, proving what, under which policy, against which resource?". The network still matters — it is a layer, not the boundary — and it gets its own stage.

2 · Least privilege, against creep

Permissions only ever ratchet upward unless something forces them down. The villain has a name: privilege creep. Wildcards, "temporary" admin, and inherited roles nobody reviews. You will learn where it hides in each cloud and the tooling that finds it.

3 · Defense in depth

Identity is one layer of several. A design that is perfect at identity and naive at network, data, or detection is not secure — it just fails differently. Know what each layer adds and which one you are currently reasoning about.

What this stage does not cover scope honesty

Security is layered, so any single stage teaches a slice. CISA's Zero Trust Maturity Model, the most widely used public scoring framework, splits the problem into five pillars plus three cross-cutting capabilities. Here is exactly which parts this stage owns.

CISA ZERO TRUST MATURITY MODEL v2.0 — FIVE PILLARS IDENTITY authN, authZ, least privilege, federation THIS STAGE DEVICES endpoint posture, compliance state touched only via Conditional Access NETWORKS segmentation, private endpoints → STAGE 4 APPS & WORKLOADS supply chain, runtime partial — workload identity only DATA classification, encryption, keys → LATER STAGE CROSS-CUTTING Visibility & Analytics Automation & Orchestration Governance this stage covers the detective / compliance tooling that sits closest to identity — audit logs, posture hubs, access analysers
Sessions 1–4 own the Identity pillar and the detective tooling nearest it. Networks is C4; Data controls come later. Say which layer you are reasoning about and the arguments get much shorter.

CISA, Zero Trust Maturity Model v2.0 (April 2023) — cisa.gov. Architectural definition: NIST SP 800-207 — csrc.nist.gov.

The four sessions

Before we start: four corrections to the reading list

Four things differ, and one of them changes what you should read.

AssignedWhat the material actually containsWhat I did
AWS §3
"IAM … SCPs"
§3 is correctly titled AWS Identity and Access Management (IAM) and is excellent on users, groups, roles, policy structure, cross-account access and trust policies — it runs about a hundred pages and is heavy on SAML and AssumeRole. But SCPs appear only eight times in passing. The real treatment is §14, "AWS Organizations and Control Tower" — consistent with the C1 correction. Read §3 and §14. S2 teaches SCPs properly from §14 plus current docs.
AWS §4
"security tools"
Correct — AWS Security Tools and Compliance: Security Hub, IAM Access Analyzer, CloudTrail, Config, GuardDuty, Inspector. But it predates the June 2025 re-organisation of Security Hub, so its 66 references to "Security Hub" all describe what is now called Security Hub CSPM. Taught with the current naming, staleness flagged inline.
GCP §11
"Cloud IAM & the
GCP security model"
§11 is actually titled "Authentication with Google Cloud IAM" and covers roles, members/policies, service accounts and Cloud Storage access control. It does not cover organization policy constraints, IAM best practices or encryption — those are §12, "Exploring IAM, Project Organization, and Encryption". Your S4 plan explicitly includes org policy constraints, so §11 alone is not enough. Read §11 and §12.
GCP: Security
Command Center
SCC appears nowhere in the material — zero mentions across all 658 pages. It is on your S4 list and it is the single most important GCP security service, so the gap matters. Taught from Google's own docs; flagged as a source gap, not a source error.
Cloud_Patterns Confirmed: no security section, as you expected. The genuinely relevant material is the External Configuration and Backend Service patterns in §3 — thirty mentions of "secret", fourteen of "vault". Brown poses the bootstrap problem beautifully and stops short of the modern answer. S1 uses it as the neutral framing for secrets, then goes past it from first principles — and says so.
Azure §7–8 Both correct: Identity and Access Management and Securing Azure Environment. One gap worth naming: managed identities get a single mention in §7, despite being the central Azure workload-identity mechanism. §16 also revisits RBAC, Policy and Defender. Managed identities taught in full from Microsoft Learn; three-pass treatment in S3.

Freshness ledger verified July 2026

Identity services get renamed and extended faster than anything else in cloud. Everything below post-dates at least one of the materials; each is carried into the session where it matters.

AreaWhat changedWhenTab
Security HubAWS renamed the original service Security Hub CSPM and gave the name "Security Hub" to a new unified service that correlates GuardDuty, Inspector, Macie and CSPM signals. GA at re:Invent 2025; preview users had to opt in by 15 Jan 2026 or be disabled. Both now appear in the console.Jun 2025 → Dec 2025S2
RCPsResource control policies — a seventh evaluation layer that caps what can be done to resources. Launched for S3, STS, KMS, SQS and Secrets Manager; since extended to Cognito, CloudWatch Logs and DynamoDB. Quota doubled to 2,000 per organization this month.Nov 2024 → Jul 2026S2
Root userCentralised root access management: you can now delete root credentials outright in member accounts and use scoped sts assume-root sessions for the rare tasks that need them. New Organizations accounts have no root credentials by default.Nov 2024S2
Access AnalyzerNow three finding types, not one: external, internal (automated reasoning across identity policies, resource policies, SCPs, RCPs and boundaries) and unused access.2024–2025S2
Inspector ClassicEnd of support reached 20 May 2026. If the material shows Inspector Classic screens, they are gone.May 2026S2
Azure ADRenamed Microsoft Entra ID. Your Azure source already uses "Entra" throughout, so it is current here — but 23 residual "Azure AD" references remain in §7.Aug 2023S3
Mandatory MFAPhase 1 (portal) hit 100% of tenants Mar 2025. Phase 2 extends MFA to every resource-management path — CLI, PowerShell, REST, SDKs, IaC — from Oct 2025. The last postponement window expired 1 July 2026. Workload identities are exempt.Oct 2025 → Jul 2026S3
Key VaultAzure RBAC is now the default access-control model for new vaults from API version 2026-02-01. Access policies are legacy. Control-plane API versions older than that retire 27 Feb 2027. Existing vaults do not migrate themselves.Feb 2026S3
Entra Agent IDAI agents became a third identity type alongside users and workload identities, with blueprints, sponsorship, dedicated directory roles and Conditional Access templates. GA 2026.2026S3
IAM policy typesGoogle IAM is no longer just allow policies. It is now three: allow, deny, and principal access boundary (PAB) in the IAM v3 API. The material teaches only the first.2023–2025S4
Workload Identity"GKE Workload Identity" was renamed Workload Identity Federation for GKE, and gained a direct-principal mode that skips service-account impersonation entirely.2024S4
SCC EnterpriseThe Enterprise tier shuts down 21 May 2027; organizations move to Premium automatically. Standard remains free — the only tier to touch in a lab.announced 2026S4
Agent identitiesGoogle added agent identities and agent identity pools as first-class IAM principals, addressable in allow, deny and PAB policies.2026S4
Vertex AIRepeated disclosures that the default Per-Project, Per-Product Service Agent is over-permissioned. Directly relevant to your Vertex work — treated at length in S4.2024–2026S4

Done means

Design it

You can lay out a least-privilege IAM model on any of the three clouds, and justify each grant against a specific need.

Explain it

authN vs authZ, federation, roles vs policies, human vs workload vs agent identity — in plain words, without hand-waving.

Read it

Given a policy document you can enumerate what it actually grants and name the privilege-creep anti-patterns in it.

Translate it

AWS IAM and SCPs ↔ Azure RBAC and Entra ↔ GCP IAM and org policy, fluently and in both directions.

← C1The path
Next stage · C3 →genaipros · C2 · Identity & SecurityAI for Everyone ↗