← Back to Blog
EU AI ActNovember 15, 2026·5 min read·by TamperAudit Team

Your agent is borrowing someone's API key. That's an identity problem

Most agent deployments run on a human's credentials or a shared service key. It is the fastest way to ship and the slowest way to explain. When the agent does something nobody authorized, the first investigative question is which actor did this, and the honest answer is we cannot tell, because four agents and two engineers share the same key.

Most agent deployments run on a human's credentials or a shared service key. It is the fastest way to ship and the slowest way to explain. When the agent does something nobody authorized, the first investigative question is which actor did this, and the honest answer is we cannot tell, because four agents and two engineers share the same key.

Security teams spent a decade learning this lesson about human identities: shared accounts kill attribution, so every person gets an identity, every action maps to one, and offboarding means revoking one credential instead of rotating everything. Non-human identities are now the majority of actors in most production environments, and agent fleets are growing that majority fastest, yet the shared-key pattern is back and treated as normal because the actor is software.

What per-agent identity buys, concretely: attribution (this call was agent 7 running task 412 under owner dana, not just our service); scoped credentials (agent 7 can read the ticket queue but not the payment API, so a prompt injection against it has a blast radius); independent revocation (kill agent 7 in ninety seconds without touching the other eleven); and clean audit semantics, because a log line that names a specific actor is evidence while a log line naming a shared key is a shrug.

The mechanics are unglamorous and available: short-lived tokens minted per task, a registry mapping each agent instance to an owner and a scope set, and delegation records that show which human authorized which capability. OAuth-style scoped grants, workload identity patterns, and secret stores with dynamic credentials all cover pieces. The hard part is not technology, it is treating agent provisioning with the same ceremony as employee onboarding, because an agent with a corporate card and API keys is an employee with fewer coffee breaks.

Borrowed credentials also poison your compliance story from the other direction: when an auditor asks how you enforce least privilege over automated actors, the answer our shared key is fine does not survive the follow-up question about attribution.

If one agent in your fleet went rogue right now, could you revoke that agent alone, within minutes, and then list every action it ever took?