“Who Authorized That?” How to Govern AI Agent Identity in the Cloud
December 1, 2026
December 3, 2026
Cloud identity was built for humans and static workloads, not autonomous actors, which begs the question: How are organizations governing the AI agents they’re implementing?
According to Palo Alto Networks’ 2026 Identity Security Landscape report, machine identities already outnumber human identities 109 to 1, and the gap is widening. Over the next year, organizations expect AI agents to grow 85% and machine identities 77%, compared with 56% for human identities.
Meanwhile, governance continues to lag. SpyCloud’s 2026 Identity Threat Report shows that 91% of organizations give AI tools or agents access to internal systems, yet only 56% have formal governance for those privileges. And while 95% believe they can see their AI and machine identity exposures, only 36% actually monitor them.
In “Agentic AI Is a Cloud Platform Problem, Not a Model Problem,” we named agent identity as the hardest of eight platform capabilities to get right. This post picks up there. It covers the four identity gaps behind most agent deployments, how to gauge the maturity of your agent identity practices, and the checkpoints that close each gap.
Four identity haps behind most agent deployments
Start with the warning signs. You likely have an identity gap if:
Agents share a single service account or API key
Some agents lack a named, current owner
Access provisioned for a pilot was never revoked
“Temporary" credentials have quietly been in use for months
Agents can call cloud APIs directly, without going through a gateway
You cannot reconstruct who authorized a specific action after the fact
These warning signs trace back to four core identity gaps that show up in most enterprise AI deployments today, on every major cloud.
Four Agent Identity Gaps and Their Impact
Gap
What goes wrong
Impact
Gap 1Identity
When agents share credentials, you can’t tell one from another, or an agent from an attacker using the same key. Agents also keep their access after completing their tasks.
You pay for access no one uses and stay exposed through access no one remembers granting.
Gap 2Authorization
Agents get broad permissions for very specific jobs. A valid token shows that an agent was allowed to act, but not that anyone approved that specific action.
When an agent does something wrong, your company is liable, and the fallout lands with your legal team and your insurer.
Gap 3Execution
Agents often call tools and cloud APIs directly. Nothing checks an action before it runs, even a destructive one, as long as it technically has access.
A small incident becomes a board and regulator issue, and the company usually responds by pausing the AI program.
Gap 4Evidence
Your logs show what an agent did, but not why or who approved the action.
You can’t pass customer security reviews or audits. Enterprise deals stall in procurement and revenue slips.
The less mature an organization’s agent identity practices, the more of these gaps are still open. The table below shows how each gap closes as these practices mature.
Agent Identity Practices
Maturity level
Identity
Authorization
Execution
Evidence
1. Ad hoc (most orgs today)
Shared/static credentials
Broad, undifferentiated roles
Unrestricted
Activity logs only
2. Foundational (further-along teams)
Unique agent identity
Least privilege
Approved tools only
Agent attribution
3. Governed (the bar for production)
Short-lived, federated identity
Task-bounded delegation
Policy + approval on destructive actions
Intent + decision recorded
4. Autonomous Trust (the ceiling)
Dynamic, continuously verified
Continuous, risk-based
Risk-based autonomy
End-to-end evidence chain
Most organizations still handle agent identity ad hoc. Even those with some foundations in place fall short of governed practices, the minimum standard for any agent running in production. Autonomous trust is the long-term goal.
How to Close the Gaps
In many setups today, an agent goes straight from a credential to a resource, with nothing in between to check the request:
Governed practice adds checkpoints between the agent and the resources it can access, and records every action in an audit trail.
Each checkpoint closes one gap. Build them in order, since each one depends on the one before it.
1. Identity – Who is this agent?
The rule: Every agent gets its own federated identity across environments (AWS, Azure, GCP, on-prem) and a named human owner. Never use static keys.
How to apply it: Classify agents by the sensitivity of the data they handle, and retire each identity as soon as its task is complete.
How to test it: Pick any running agent. Can you name its owner in 30 seconds?
2. Authorization – What is it allowed to do?
The rule: Check permissions on every request, not once at setup. Example: “Agent X, acting for User Y, is authorized to do this for 10 minutes under Task 123.”
How to apply it: Default to read-only. Grant write/delete access per task with a short-lived credential that expires automatically. When one agent hands work to another through Agent-to-Agent (A2A) delegation, the second agent gets less access, never more, and revoking the first agent revokes everything downstream.
How to test it: Revoke one agent's access. Does every credential it created stop working too?
3. Execution – How does it act?
The rule: All agent interactions must be governed through approved policy enforcement mechanisms, through a Model Context Protocol (MCP) server or gateway. No direct API calls.
How to apply it: Check sensitive operations again right before they run, and limit what each tool can do, exactly. Access to a database shouldn’t mean permission to delete a table.
How to test it: Can an agent bypass the gateway and call a cloud API directly?
4. Evidence – What did it do?
The rule: Every action must produce a complete (start to finish), reconstructable chain.
How to apply it: Log who started the action, which agent ran it, intent, approved decision, any tools used, and the outcome. Record the decision logic, not just the result, searchable by agent, owner, and task.
How to test it: After an incident, can you produce its full audit chain in minutes?
Protocols like MCP (tool connectivity during execution) and A2A (agent delegation during authorization) move requests between agents and tools, but don’t decide what an agent is allowed to do. These checkpoints do. The same setup also supports the named ownership, scoped access, and audit trails required by regulations like DORA, GDPR, and the EU AI Act.
Three guardrails every AI agent needs
The checkpoints determine if an action is allowed. If something goes wrong with that action, guardrails decide what to do next to minimize the damage.
Every agentic AI program should have at least the following guardrails in place:
Autonomy budgets: Cap cloud spend, how often an agent can run, and how many records it can change in a single run. When an agent hits a limit, stop it automatically.
Input safety: Check untrusted inputs and tool returns for prompt injections, which can hijack agents for access
Rapid Revocation: Be able to shut off any agent’s access everywhere within minutes. Grant only the autonomy you can take back that fast.
How to test: Name the last action a guardrail blocked. If you can’t, your guardrails aren’t being enforced.
What this means for the business
Identity maturity determines how much autonomy a business can safely give an agent, and autonomy is where AI’s ROI shows up. So how do you decide how much to give?
The autonomy an agent earns depends on risk and identity assurance, not model capability alone. Sort every action an agent can take by how much damage it could do if something went wrong. An agent that only reads a dashboard can’t break anything, but an agent deleting a database can. The bigger the potential damage, the more human oversight the action needs:
Restarting a pod: Medium risk — autonomous, within defined limits
Changing a firewall or IAM policy: High risk — requires approval or dual control
Deleting production data or moving money: Critical — requires explicit human sign-off, every time
Stronger identity assurance can move an action one tier toward autonomy. For example, an agent with tightly scoped credentials and a full audit trail might earn the right to restart pods autonomously within predefined operational limits and blast-radius controls.
Where to start
For the CISO: Inventory your agents this quarter. Score them against the four maturity levels and take the static-credential count to leadership as a risk figure.
For the CTO: Require a unique identity before any agent leaves the sandbox. Make “can we prove who authorized this?" a release criterion.
For the business: Put agent identity on the roadmap as a named line item, and decide which actions need a human checkpoint.
KPIs
Use these metrics to see where you stand. Each target reflects the governed level, the minimum for any agent running in production.
Checkpoint
Metric
Target
Identity
Agents using a unique, federated identity
~100% of production agents
Long-lived or static credentials in use
Approaching zero
Agents with a named, current owner
100%
Retired agents that still have access
Zero
Authorization
Privileged actions under bounded, policy-checked authorization
100%, with approval enforced on destructive actions
Agent-to-agent handoffs where each agent gets less access than the last
100%
Execution
Agent actions routed through an approved gateway
~100%, no direct API calls
Destructive actions that require approval before they run
100%
Evidence
Actions with a complete record, from initiator to outcome
100% of actions, retrievable in minutes
Guardrails
Time to revoke agent authority
Minutes
The bottom line
One of the significant emerging AI security risks is the misuse of valid credentials to perform unauthorized actions. That makes identity, more than model capability, the limit on how much autonomy enterprise AI can safely have.
Every gap has a business cost: Stalled deals, legal and insurance exposure, wasted cloud spend, and paused AI programs.
One weak spot undoes the rest: A single unmanaged credential is a spare key under the doormat. It doesn’t matter how good the locks are.
Build on strong foundations: Identity, authorization, execution, then evidence. Logging an action nobody checked just gives you a detailed receipt of a disaster.
The tools already exist: Federation, short-lived tokens, policy-as-code, and audit pipelines are already in your cloud stack.
When an incident hits, the board will want to know who’s responsible for the agent, and whether you can prove who authorized its actions.
Govern your AI agents before they reach production
Talk to an Astreya expert about where your agents stand on identity, authorization, execution, and evidence.
Nischita NJ brings over 12 years of experience designing resilient, high-scale cloud platforms and leading Site Reliability Engineering (SRE) practices. She specializes in building secure, high-velocity infrastructure that enables organizations to innovate rapidly. Most recently, Nischita has been guiding clients through the safe enterprise integration of AI agents, ensuring advanced automation is deployed with robust visibility, governance, and business trust.