Domain 5: Securing and Governing Agentic Workflows (Part 1 of 2)
This lesson covers 3 exam topics: Authentication and OAuth for Agents, Principal Access Boundary Policies, Agent Gateway. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. Authentication and OAuth for Agents
Central question: How do agents authenticate to tools securely?
Facts
- Agent Identity authentication models: user-delegated with 3-legged OAuth 2.0 configured in the Agent Identity auth manager (for example a user's Jira or GitHub), the agent's own identity for Google Cloud services, and OIDC ID tokens for external backends (Agent Identity overview).
- With Agent Gateway and Gemini Enterprise, end-user credentials are encrypted by the auth manager and decrypted only at the gateway, so the agent never sees raw credentials.
- Agent identities are secured with Context-Aware Access using mTLS and DPoP (Agent Gateway overview).
Exam traps
- Storing user OAuth tokens in agent memory. Use the auth manager.
- Agent identity for user-specific data. Use user-delegated OAuth.
2. Principal Access Boundary Policies
Central question: What do principal access boundary policies do for agents?
Facts
- A Principal Access Boundary (PAB) policy limits the resources an agent can access, regardless of other permissions it has; PAB policies on agent identities are evaluated on outbound (egress) calls; agents under PAB can access only resources the policy allows (Agent Identity overview).
- PAB sets an outer boundary; IAM allow policies grant permissions inside it; deny policies remove specific permissions.
- Use PAB to keep agents within approved projects or resources even if someone grants an overly broad role.
Exam traps
- Relying only on IAM allow policies. A mistaken broad grant could expose more; PAB caps it.
- PAB grants access. It only limits; IAM still has to allow.
3. Agent Gateway
Central question: What does Agent Gateway do?
Facts
- Agent Gateway is the governance and security enforcement layer: the network entry and exit point for agent interactions across managed runtimes, containers, VMs and other clouds (Agent Gateway overview).
- Modes: Client-to-Agent (ingress) and Agent-to-Anywhere (egress) governing calls to tools, MCP servers, SaaS APIs and other agents.
- It uses Agent Identity (who), Agent Registry (approved destinations) and policies: IAM unified access policies (all connections blocked unless explicitly allowed), Model Armor, semantic governance, token management (coming soon) and custom authorization through Service Extensions.
- IAM policies for the gateway are enforced with Identity-Aware Proxy (policies overview).
Exam traps
- Assuming connections are allowed by default. Blocked unless an IAM policy grants access.
- Gateway as just a load balancer. It enforces identity, registry and policy.
References
- PAA exam guide — checked Oct 26, 2026
- Agent Identity overview — checked Oct 26, 2026
- Agent Gateway overview — checked Oct 26, 2026
- Policies overview — checked Oct 26, 2026
Check your understanding
Access a user's GitHub repos?Show answerHide answer
Answer
3-legged OAuth via auth manager.Cap an agent's reachable resources whatever its roles?Show answerHide answer
Answer
Principal Access Boundary.Default for agent egress connections?Show answerHide answer
Answer
Blocked unless allowed.Agent reads its own BigQuery dataset?Show answerHide answer
Answer
Agent's own identity.Does PAB grant permissions?Show answerHide answer
Answer
No, it limits them.