Google gives every GKE agent its own SPIFFE identity and enforces tool policy outside the pod

Google Cloud has extended its agent governance stack to Google Kubernetes Engine, and the design choices are the interesting part for KYA. Each labelled agent gets its own SPIFFE identity with short-lived certificates and is registered automatically in Agent Registry. Access policy is written against agent, MCP server and tool names rather than IP addresses. And enforcement runs outside the agent’s Pod, so an agent cannot widen its own authority by changing its configuration.

Contents
  1. What Google announced
  2. Why it matters for KYA
  3. What it does not solve
  4. What to do on Monday
  5. The limits, stated plainly
  6. Sources

The capability, published on 1 December 2026, joins agent governance for Cloud Run and cross-cloud agent governance for agents running elsewhere. Google’s pitch is that platform and security teams use the same identities, registry and policies wherever an agent runs, instead of one governance model per runtime.

What Google announced

On GKE, governance is split into three kinds of traffic, each with its own gateway:

  • Client access (ingress). A GKE gateway — a regional Application Load Balancer — becomes an Agent Gateway when a GCPAgentGateway resource targets it. A GCPAuthzPolicy attached to the gateway decides what callers may do.
  • Agent outbound access outside the cluster (egress). A Secure Web Proxy in the customer’s VPC acts as the Agent Gateway.
  • Agent outbound access inside the cluster (east-west). GKE runs a Layer 7 proxy for each namespace, outside the Pods.

All three use the same identities, registry and policies. The components Google describes:

  • Agent Identity and Agent Registry. An agent is declared with a label (registry.gke.io/functional-type: "AGENT") plus annotations that give each Pod an agent identity — a SPIFFE ID — with short-lived certificates. The label also makes GKE register the workload in Agent Registry automatically. Policy can then refer to agents, MCP servers and tools by name rather than by IP address.
  • Access and content policies. Teams define who can call each agent and which MCP tools each agent can call. Model Armor screens prompts, responses and tool payloads for prompt injection and data exfiltration. Customers can attach their own policy engine, or one from Google’s Agent Gateway partner ecosystem, through Service Extensions bindings.
  • Agent Gateway enforcement. The gateway applies those policies to client access and to agent outbound access, inside and outside the cluster. It builds on GKE ambient networking, which captures agent traffic outside the Pods with no sidecars and no changes to agent code, and encrypts traffic between workloads with mTLS based on each Pod’s identity.
  • Observability. Governed requests are logged with agent context, and governed agents get metrics and traces in the Google Cloud console.

Google’s worked example is an order-support agent and an orders MCP server in one cluster. The security team’s rule is that anyone may look up orders but no agent may cancel them. The policy allows the MCP methods tools/list and tools/call with the exact parameter get_order_status. When a caller asks for cancel_order, the gateway rejects the call before it reaches the MCP server. Rules can also match the caller’s SPIFFE identity.

For egress, the node proxy captures the call outside the agent’s Pod and tunnels it to the Secure Web Proxy over mTLS, presenting the agent’s identity on that connection. The gateway identifies the destination by inspecting TLS traffic and looking up the MCP server and tool in Agent Registry, then evaluates IAM Unified Access Policies written against agent identities and registry attributes. One policy condition in Google’s example allows only tools marked with the read_only_hint annotation.

Why it matters for KYA

The identity is issued, not claimed. The agent does not assert who it is in a prompt or a header. A deployment label and annotations cause the platform to issue a SPIFFE identity with short-lived certificates. That is the workload-level version of an agent passport: the platform can enumerate its agents, and each one presents a cryptographic identity that the infrastructure, not the model, controls.

The registry becomes the naming layer that policy depends on. Policies refer to an agent, an MCP server and a tool by name. Names only work as policy inputs if something authoritative maps name to identity and to the workload that holds it. That is the registry’s job, and it is why registries keep showing up in KYA designs: they are what makes “this agent may call this tool” enforceable rather than aspirational.

Enforcement sits outside the agent’s reach. Google states the design point plainly: because enforcement happens outside the Pod, an agent cannot bypass policies by changing its own settings. This is the single most useful KYA property in the announcement. An authority that the agent can grant itself is not a control; it is a suggestion.

Authorisation is per tool, not per service. “Can call the orders service” and “can cancel an order” are different questions. Google’s model distinguishes tools/list from tools/call, and distinguishes one tool from another by parameter and by annotation. For KYA, that granularity is the difference between a scoped credential and a blank cheque.

Access control and content screening are separate layers. The gateway decides whether an agent may call a tool. Model Armor checks what goes into and comes out of the call. Keeping the two apart matters, because a prompt-injection defence is not an authorisation decision, and an authorisation decision does not tell you whether the payload is hostile.

The logs record why a request was allowed or blocked. Google says each governed request is logged with the reason for the decision. An audit trail that records only the outcome is much weaker evidence than one that records the policy that produced it.

What it does not solve

This is workload identity, not a mandate. The identity is attached to a labelled Deployment and its Pods, not to a task, a session or a human principal. It tells you which workload is calling. It does not tell you which person delegated what authority to that workload, for how long, or within which limits. That delegation layer remains outside the announcement.

It governs calls inside Google Cloud. The SPIFFE identity is meaningful to Google Cloud IAM and to the Agent Gateway. Google does not describe presenting it to a third party outside the project as a portable, verifiable credential, and the policy resources are Google Cloud resources, not a published cross-vendor format.

Preview status and version requirements. Client access and outbound access outside the cluster are in preview; outbound access inside the cluster is in gated preview; support for Agent Sandbox is “coming soon”. It requires GKE version 1.37.1-gke.1697000 or later and is available in select regions. None of this is a complaint — it is a deployment constraint to plan around.

A compromised Pod inherits the agent identity. Short-lived certificates limit the window, but the identity belongs to the workload. If an attacker can run code inside the Pod, it can act as that agent for as long as the certificate lives, within whatever policy the agent has. The control reduces blast radius; it does not eliminate the need for runtime detection.

What to do on Monday

  • Label agents and give them workload identity before writing policy. A registry entry and a SPIFFE identity are the prerequisites for every name-based rule that follows.
  • Write policy against tool names and annotations, not IP ranges. Start with the tools that change state — cancel, refund, delete, transfer — and deny them to agents by default.
  • Keep irreversible actions with humans. If a tool withdraws trust or moves money, the agent should be able to request it and not perform it.
  • Roll out in dry-run. Google’s own guidance is to start policies in dry-run mode, review what would have been blocked, then turn on enforcement. Do that before an agent finds the gap for you.
  • Retain the decision logs with agent context. The reason a call was allowed is the part an auditor will ask for.

The limits, stated plainly

This article is based on the Google Cloud blog post of 1 December 2026 and the Agent Gateway documentation, read in full. We have not deployed the feature or tested the policies. The availability details are as Google states them and may change while the feature is in preview. This is not legal or compliance advice.

Sources

Related on kya.fi: Google requires external Workspace agents to carry dedicated OAuth identities by February 2027 and Linux Foundation’s Agent Name Service anchors AI-agent identity in DNS.


Know Your Agent (KYA) explains agent identity, verification and accountability. This is an explainer, not legal or compliance advice — see our Sources & methodology. New to KYA? Start with What is Know Your Agent? and the glossary.