iamnewuser / Reference
Reference
Agent identity
An AI agent is neither a user nor a service account, and governing it as either one is how most organisations are currently getting it wrong. What follows is the distinction, the delegation patterns, and a way to check what your own agent can reach.
Sources in the library.
First principles
Neither a user nor a service account
Most agent governance goes wrong at this step. Teams reach for the nearest existing abstraction, and both of them are the wrong shape.
| Human user | Service account | AI agent | |
|---|---|---|---|
| Lifetime | Years, tied to employment | Years, tied to an integration | Minutes to weeks, tied to a task nobody logged |
| What it does next | Decided by a person, predictably | Fixed at build time | Decided at run time, by inference |
| Acts on behalf of | Itself | A system | A different person on every invocation |
| Reads untrusted input | Yes, and knows it is untrusted | Rarely, and in fixed formats | Constantly, and cannot reliably tell |
| Audit trail reads as | A sequence of human decisions | A repeating pattern | Plausible activity at machine speed |
| Revocation means | Disable the account | Rotate the key, break the integration | Withdraw the credential, and find the other copies |
| Scope drift comes from | Promotions and transfers | Change requests | Adding one more tool, on a Tuesday |
The last row is the one that bites. Every other identity type grows its privileges through a process. An agent grows them when an engineer wires in another tool, and the union of what those tools can reach is the agent's real authority — which is why the inspector below asks about tools rather than about roles.
The inspector
What can your agent actually reach?
Tick the tools your agent is wired to. The risk is almost never in any single one — it is in the combination, and the combination is what nobody reviews.
Tools available to the agent
Including the ones added for a demo and never removed.
Minimum guardrails for this configuration
In order. The first ones are specific to what you selected.
Delegation
Five ways to give an agent authority
In the order teams actually try them, which is roughly the reverse of the order they should.
- A shared API key in the environmentAvoid
Indistinguishable from any other holder of that key, appears in no inventory, rotates never, and survives every person who knew about it. When the key leaks there is no way to tell which agent, service or laptop used it. This is the configuration behind most non-human identity incidents.
- The user's own sessionAvoid
Convenient, and the audit log now says a person did something a machine did. The agent inherits every entitlement that person has accumulated — including the ones from their last job. Revoking the agent means revoking the person.
- A dedicated service accountBetter than nothing
At least the activity is attributable and the scope can be trimmed. But the credential is still long-lived, the account still sits outside the joiner-mover-leaver process, and the agent still acts with one fixed set of rights regardless of whose request it is serving.
- Token exchange, on behalf of the requesterGood
The agent presents its own identity plus the user's, and receives a token carrying the intersection of the two. The agent can never exceed the person it is acting for, and the audit record names both. This is what the delegation protocols emerging around agentic access are reaching for.
- A purpose-bound, short-lived credentialBest
Issued per task, scoped to the single resource the task needs, expiring in minutes, tied to a named human owner, revocable without breaking anything else, and visible in access reviews like any other entitlement. The agent holds nothing when it is not working.
The checklist
Four questions, per agent
If you cannot answer all four for an agent that is already running, that is the finding.
- Who owns it?A named human, not a team alias. Somebody has to be asked when it behaves oddly, and somebody has to recertify it.
- What may it do?The union of its tools, written down. Not the intent, the capability — those differ the moment someone adds a tool.
- On whose behalf?Its own authority, or a delegated one that cannot exceed the requester. If the answer is "everyone's", it has standing privilege.
- When does it stop?An expiry date on the credential and on the agent. An agent with no end date is a permanent identity nobody decided to create.
Where this leads
Agents are not a new discipline. They are the existing non-human identity problem, moving faster and making its own decisions about what to ask for.
Everything that makes a service account dangerous — no owner, no expiry, broad scope, absent from reviews — is worse in an agent, because an agent can be talked into using what it holds. The control is the same control. The urgency is not.
Estimate how many agent credentials you will be carrying once a pilot becomes production.