Skip to content
AI Agent Access Control

Limit who can pass, attach or impersonate the agent's role

Check 3 of 30: Limit who can pass, attach or impersonate the agent's role. Anyone who can attach the agent's role to a new resource can borrow its access without ever being granted it. Limiting that right keeps the agent's permissions from spreading.

The whole checklist ยท The map

Why it matters

Anyone who can attach the agent's role to a new resource can borrow its access without ever being granted it. Limiting that right keeps the agent's permissions from spreading.

How, in each cloud

AWS
Grant iam:PassRole only for the specific roles a principal needs to pass to a service.
Google Cloud
Grant the Service Account User role only to principals that need to attach the service account to a resource.
Azure
none found on 2026-11-10

What the documentation says

  • "pass a role to an AWS service, you must grant the PassRole permission to the" (source)
  • "The Service Account User role ( roles/iam.serviceAccountUser ) lets a principal" (source)

Sources

  1. docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html, read 10 Nov 2026
  2. cloud.google.com/iam/docs/service-account-permissions, read 10 Nov 2026

Last reviewed 16 Nov 2026.