Ingenious AI

Guides · Agent security

AI agent identity and access management

Most agents today act under borrowed identities — a developer's key, a shared service account, a human's session. That makes their actions unattributable, their permissions bloated, and their revocation impossible without breaking a person. Agent identity and access management fixes the root: every agent gets its own verifiable identity, its own scoped permissions, and a lifecycle (issued, reviewed, revoked) like any other principal on your network. This guide covers the model and the migration path.

By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026

The short answer

Manage AI agent identity by issuing every agent its own credential and identity record — owner, purpose, model, allowed tools and systems, spend and rate limits, expiry — and never letting agents act under a human's identity or a shared key. Authenticate the agent at every tool call through a gateway, authorise per action against its scope, log under its own identity, and revoke centrally when it misbehaves or is retired. Borrowed identity is the root cause behind most agent permission and audit failures.

Try it free: Agent Passport — give each agent a verifiable identity of its own — the foundation this guide builds access control on.

What is AI agent identity?

the practice of treating each AI agent as a distinct principal with its own identity, credentials and access rights — issued, scoped, monitored and revoked through a lifecycle — rather than letting agents share human accounts or generic service keys. It applies the oldest lesson of access management (every actor accountable under its own name) to the newest actors on the network.

Why borrowed identity breaks everything downstream

When an agent acts as 'the developer' or as a shared automation account, three things collapse at once. Attribution: logs show the human, so incidents and audits cannot separate the person's actions from the agent's. Least privilege: the borrowed identity carries everything its owner can do, which dwarfs the agent's actual job. Revocation: stopping the agent means changing a person's credentials, so nobody does it quickly. Nearly every agent-governance failure — over-privilege, unexplainable logs, unkillable agents — traces back to this one shortcut taken at setup.

What an agent identity record contains

An identity is more than a key. The record should carry: the agent's name and owner (a human who answers for it), its purpose in one sentence, the model and version it runs, the tools and systems it may access with what scopes, its spend and rate limits, its data classifications, and an expiry or review date. This record is what approvals reference, what audits sample, and what the kill switch acts on. If your agents cannot be listed with these fields, identity management has not started yet — the inventory is the identity system.

Authentication and authorisation at the gateway

With identities issued, enforce them where the work happens: the agent authenticates to a gateway (or to each tool) as itself, and every action is authorised against its recorded scope before execution. Short-lived tokens beat standing keys where the platform allows; where it does not, per-agent keys in a vault, injected by the gateway, keep secrets out of the agent's context. Cross-agent calls get the same treatment: an agent invoking another agent presents its own identity, so privilege cannot be laundered through a helpful colleague agent.

Lifecycle: issue, review, suspend, retire

Identities need the rhythm human accounts get (and agents rarely do): issuance with an approver, periodic review where the owner re-justifies scopes against actual usage, instant suspension as a standard operation (the kill switch is an identity state, not an emergency hack), and retirement that revokes credentials and archives the record when the agent is decommissioned. Dormant agents are a special risk class: an identity nobody uses but everybody can still authenticate as is an open door with a forgotten address. Review should surface dormancy automatically.

Delegation: when an agent acts for a user

Many agents act on behalf of a specific human — booking for them, drafting as them. The sound pattern is dual attribution: the action is logged under the agent's identity and the delegating user's identity, with the agent's authority capped by both its own scope and the user's permissions. The unsound pattern — the agent simply becoming the user, session and all — destroys accountability and usually violates the platform's terms. If a vendor's agent requires your users' personal credentials, that requirement is itself the risk assessment's headline finding.

Your 5-action checklist

  1. Inventory every agent under its own name with owner, purpose, model, scopes, limits and a review date.
  2. Retire every borrowed or shared credential: no agent acts as a human or through a shared key.
  3. Authenticate the agent at a gateway and authorise every action against its recorded scope.
  4. Build the lifecycle: approved issuance, usage-based reviews, one-step suspension, retirement with revocation.
  5. Log dual attribution for delegated actions — agent identity plus the user it acts for.

Worked example: Belmopan Clinic Network

Belmopan Clinic Network, a fictional group of clinics, discovered during an audit that its appointment-reminder agent, its records-summarising agent and its billing agent all authenticated as the same 'automation' account — which, accumulated over two years, could read every patient record and send mail as the clinic. Any one agent's compromise was a compromise of all three functions. The migration took a month: three distinct agent identities, each scoped (reminders: read appointments, send to patients; summariser: read one clinic's records, write nothing externally; billing: read invoices, no clinical data). Three months later, when the summariser's vendor had a security incident, the network suspended that one identity in minutes while reminders and billing ran untouched — the incident review noted, dryly, that under the old shared account the same event would have closed the clinics' systems for a day.

Sources

Frequently asked questions

Isn't a service account enough identity for an agent?

A dedicated service account per agent is a real step — it gives attribution and revocability. Full identity management adds the record around it (owner, purpose, scope, limits, review), which is what makes the account governable. A shared service account for many agents, though, is just borrowed identity with extra steps.

How do we handle agents from vendors who manage their own identity?

You still own the access decision: inventory the vendor agent, define what it may reach in your systems, require its actions in your logs under a distinguishable identity, and keep a suspension path on your side (disconnect the integration). Their identity system does not replace your access control.

What identity should a temporary or test agent get?

A real one, with a short expiry. Test agents with production access and no expiry are a classic breach path. Sandbox identities should be barred from production data by scope, and their expiry should be days, with renewal a deliberate act.

Can one agent have multiple identities for different tasks?

Prefer one identity with per-task scopes granted at runtime: the identity stays constant for attribution, while authority expands and contracts per task. Multiple identities per agent blur accountability — the record should show one actor whose permissions varied, not several actors who might be the same.

How does agent identity relate to zero trust?

It is zero trust applied to machines: never trust by network position or by who built it, always authenticate the agent and authorise each action against current policy. Agents make the philosophy concrete because they are the principals whose behaviour can change with a single input — exactly the actors continuous verification was invented for.

Related guides and tools