Per-user authorization keeps attribution honest and limits blast radius. A shared credential makes every action look like it came from the bot, gives every caller the same permissions, and lets one prompt injection act with full workspace power. Per-user grants keep each action scoped to what that specific person connected and is allowed to do.
Why per-user authorization changes the security model for AI agents
Per-user authorization turns an AI agent from a shared utility into an action layer that inherits a specific person’s scope, consent, and accountability. That matters because agents are not just reading data, they are executing on behalf of someone. With per-user grants, the system can distinguish who approved the connection, what that user can reach, and which actions should be blocked when the request exceeds that user’s normal rights.
This is why agent design should start with delegated authority rather than a shared bot credential. NHIMG’s Agentic AI Identity Guide frames the core issue well: agents need identity models, delegation and lifecycle rules that match their operational role, not a generic shared login.
Why shared service accounts create a bad attribution and permission model
A shared service account collapses many users and many decisions into one identity, so every action looks the same in logs and every caller inherits the same standing permissions. That erases accountability and makes it difficult to tell whether a risky action came from an approved workflow, a careless user, or a compromised prompt. It also encourages overbroad grants, because teams usually size the account for the hardest case rather than the safest one.
That pattern is especially dangerous when humans begin using the bot as a convenient front end for privileges they would not otherwise have. NHIMG’s Human vs Non-Human Identity explains where shared credentials, delegated access and user ownership collide, which is exactly where attribution breaks down.
Shared credentials also weaken containment. If one prompt injection, misrouted approval, or stolen token reaches the bot, the attacker does not need to guess which person they are impersonating, because the shared account already carries the aggregate privilege of the group. NHIMG’s Service Account Security Guide shows why that design is hard to govern at scale: discovery, least privilege, rotation and ownership all become harder once a single account stands in for many actors.
What per-user authorization enables in practice for agent control
Per-user authorization lets the platform make access decisions at the edge of each action. A mailbox read, data export, ticket update, or file write can be allowed or denied based on the connected user’s entitlements instead of the agent’s broad baseline. That means the agent can still be useful while remaining bounded by the real permissions of the person who invoked it.
The best implementations also make authorization dynamic, not just identity-based. NHIMG’s AI Agent Authorisation Guide emphasizes task-scoped access, per-action policy decisions and approval gates, which are the practical controls that keep agents from turning inherited access into open-ended authority.
Where the agent acts on behalf of a person, the authorization layer should be able to answer three questions: who is the user, what did they consent to, and what specific action is being requested now. That is the difference between a controlled delegation model and a shared session that can be reused far beyond the original intent. NHIMG’s Zero Trust for AI Agents is useful here because it ties every request to verification, least privilege and explicit policy enforcement.
Risk and Threat Considerations
Shared service accounts raise the blast radius of every mistake and every compromise. If the agent is fed malicious instructions, or if one caller is over-privileged, the shared credential can turn a local issue into workspace-wide or tenant-wide exposure. The core threat is not only theft of the account, but misuse of the trust boundary it creates.
Failure mechanism: A shared credential gives multiple users the same standing access, so the system cannot reliably attribute actions, restrict scope per person, or contain abuse after a prompt injection, token theft, or accidental overreach.
Impact: One compromised interaction can inherit broad permissions, create ambiguous audit evidence, and expand the attack path from a single user action to the full capability set of the shared bot.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Per-user authorization directly prevents shared-credential privilege abuse in agent actions. |
| Recommendation — Enforce per-action authorization so each agent request uses the invoking user's scoped privileges. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | Shared bot accounts concentrate excessive permissions beyond any one user's need. |
| Recommendation — Reduce standing permissions and scope each agent to the minimum access required. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Identification and Authentication (Service/Workload/AI) | AI agents and shared service accounts need distinct service-style authentication and authorization controls. |
| AC-6 — Least Privilege | Per-user grants implement least privilege by constraining each action to the user's own rights. | |
| AU-2 — Event Logging | Per-user authorization depends on audit records that preserve attribution for each action. | |
| Recommendation — Use service authentication with least-privilege access and separate user-bound delegation. Limit agent permissions to the minimum access needed for the current user and task. Log the human principal, delegated scope and action outcome for every agent request. | ||
Practitioner Guidance
What to prioritise: Put per-user authorization in place before scaling the agent’s tool set. If the platform cannot bind every action to a user-specific grant, treat the deployment as a high-risk shared control rather than a delegated automation feature.
What to verify: Confirm that logs preserve both the human principal and the agent action, that revocation follows the user’s own access lifecycle, and that the agent cannot silently fall back to a generic bot credential when user context is missing.
Common mistake: Teams often keep the shared service account for convenience and then try to compensate with review after the fact. That reverses the control objective, because the dangerous part is not just what happened, but that the system no longer knows whose authority was used.
Practitioner takeaway: Per-user authorization is the control that keeps agent action bounded, attributable and revocable; a shared service account removes those properties at the exact moment AI agents need them most.
Related resources from NHI Mgmt Group
- What is the difference between acting as a user and acting through a shared service account for AI agents?
- Why do production AI agents need per-user delegated OAuth instead of shared service accounts?
- How can organisations govern AI agents that use service accounts and tokens?
- Why does per-user authorization matter when agents execute business actions in enterprise systems?