By NHI Mgmt Group Editorial TeamBased on PermitIO: “Agent Identity vs. Service Accounts: Why Scoped Tokens Still Need Runtime Authorization” (June 9, 2026)

TL;DR: Scoped tokens reduce blast radius for AI agents but do not decide whether a specific action should execute in the moment, according to PermitIO, because token scope is admission rather than authorization. Runtime policy, delegated intent, and live context must control each tool call.


At a glance

What this is: This is an analysis of why scoped tokens are not enough for AI agent governance when runtime behaviour is generated dynamically.

Why it matters: IAM and security teams need per-call authorization because agent identity combines delegated intent, live context, and tool use in ways static token scope cannot safely govern.


Context

Scoped tokens and short-lived credentials are useful baseline controls, but they are designed for predictable execution paths, not generated decision-making. Once an AI agent can choose tools and act in changing context, the governance problem shifts from issuance-time access to execution-time authorisation.

That creates a direct identity governance issue for AI agents: the control boundary must follow the action, the delegation chain, and the live risk state. If the programme stops at service-account style scoping, it leaves a gap between who may start the agent and whether a specific action should happen now.


Key questions

Q: What is the difference between runtime observability and authorisation for AI agents?

A: Runtime observability shows what the agent did or attempted, while authorisation decides whether it should have been allowed to do it at all. Observability helps with investigation and tuning, but it cannot grant trust, assign privilege, or replace identity proofing for an enterprise agent.

Q: Why do scoped credentials still need per-call policy checks?

A: Scoped credentials limit exposure, but they do not judge whether the current action is appropriate. Per-call checks are needed because the agent may face new context, changed consent, or hostile prompting after the token was issued. Without runtime evaluation, a valid credential can still drive the wrong action.

Q: What breaks when AI agents are governed like ordinary service principals?

A: The main failure is that ordinary service-principal governance assumes a stable workload with predictable lifecycle and entitlement patterns. AI agents can inherit access from a blueprint, act through user-shaped interfaces, and change their operational state at runtime, so the control model no longer matches the behaviour. Teams need a separate governance view for the agent runtime, not just for the underlying credential object.

Q: How can organisations make AI agent actions auditable?

A: Organisations need logs that connect each action to a specific agent identity, the delegator, the purpose, the tokens used, and the downstream systems touched. Auditability should cover the entire delegation chain, not just the final API call. If the record stops at the application layer, it will not support compliance, incident response, or accountability.


Technical breakdown

Why token scope is admission, not authorisation

A scoped token answers a coarse question: is this identity allowed to enter a bounded environment and touch a defined set of resources? That is useful for machine authentication, but it is not the same as deciding whether a specific tool call should execute under current conditions. AI agents generate behaviour at runtime, so the action sequence is not fully knowable at issuance time. The control plane has to evaluate the request, the task, and the current trust state when the call occurs, not only when the credential is minted.

Practical implication: treat token scope as the entry condition and add runtime policy before any sensitive tool invocation.

How delegated identity changes the control model

A service account model assumes a relatively stable workload principal. An AI agent often carries a delegated human principal, an agent principal, and session context that can all matter to the decision. That means the effective identity is composite, not singular. If logging and policy only know the token holder, attribution collapses and policy becomes blind to intent, owner, and current trust level. This is why agent identity is closer to a delegation chain than a traditional workload credential.

Practical implication: bind authorisation decisions to the delegating user, the agent principal, and the active session context.

Why prompt injection and context drift bypass static grants

Static grants cannot inspect whether the model was steered by hostile instructions, whether the user’s consent changed, or whether a session has become high risk mid-run. Prompt injection can produce legitimate-looking calls that still fit scope, while context drift can make an earlier permission inappropriate now. In other words, the credential can remain valid while the decision becomes wrong. Runtime authorisation closes that gap by re-evaluating the same action against current intent and risk signals each time.

Practical implication: re-check the action at execution time when context, trust, or delegation changes.


NHI Mgmt Group analysis

Scoped tokens are an admission control, not an execution control, for AI agents. PermitIO's analysis is strongest where it separates starting authority from action authority. That distinction matters because agents do not simply authenticate and run a fixed path; they make runtime decisions that can be valid syntactically and still wrong operationally. Practitioners should treat token scope as necessary but insufficient.

Agent identity is a delegation chain, not a single principal. A useful authorisation model has to account for the human who delegated, the agent that executes, the task being attempted, and the trust level attached to the session. Once those are split apart, traditional service-account thinking no longer captures the real governance object. The implication is that policy must follow delegated intent, not just credential possession.

Runtime policy is the decisive control point for agent governance. The article shows why coarse permission envelopes fail when context can change between issuance and execution. That is not a tuning problem inside old IAM, it is a control-boundary problem. For practitioners, the real shift is from who can hold a token to what must be re-evaluated before each action.

Ephemeral credentials still create trust debt if they are treated as authorization boundaries. Short-lived tokens reduce exposure windows, but they do not remove the need for live judgement about purpose, consent, and current risk. The control assumption that access can be decided once and reused for the session is the part that breaks here. Teams should redesign around per-call decisions, not longer-lived grants.

Agent governance now sits at the intersection of NHI discipline and delegated human accountability. This is where identity architecture changes materially: the system must prove who started the agent, who owns it, what it may do now, and whether the current call still matches the delegated purpose. That makes runtime authorization the bridge between NHI control hygiene and human approval semantics.

From our research library:

What this signals

Runtime authorisation becomes the control plane for AI agents. Security teams should expect the governance boundary to move from token issuance to per-action enforcement. That change affects IAM design, audit logging, and incident response because a valid credential is no longer proof that a specific action should proceed.

Service account thinking does not fully describe agent behaviour. The useful mental model is delegated execution with live context, not static workload access. Teams that keep agent governance inside ordinary NHI patterns will miss the place where decisions actually need to be made.

Scoped credentials only reduce risk when they are paired with current context checks. Short-lived access still leaves a window for prompt injection, intent drift, and changed trust posture. The programme implication is simple: review where your control stack can still say yes after the reason for access has changed.


For practitioners

  • Define per-call authorisation boundaries Require every sensitive tool invocation to pass a live policy check that uses the current task, trust state, and requested resource, not just the original token scope.
  • Record the full delegation chain Log the delegating user, agent principal, session identifier, task class, requested action, and policy decision so that runtime decisions are attributable after the fact.
  • Separate authentication from authorisation Use scoped credentials for admission and machine authentication, but make execution contingent on a second decision layer that can deny an otherwise valid token in context.
  • Revoke authority when context changes Trigger re-evaluation when consent changes, risk signals rise, or session trust drops, even if the credential has not expired.
  • Treat prompt injection as an authorisation problem Assume a malicious prompt can produce syntactically valid calls and gate those calls against live intent and policy before execution.

Key takeaways

  • Scoped tokens limit what an AI agent can start with, but they do not determine whether a specific action is appropriate at execution time.
  • Agent governance depends on delegated intent, live context, and per-call policy rather than on credential scope alone.
  • Teams that treat service-account style scoping as the final control will miss the runtime decision point where agent risk actually materialises.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe article centres on why token scope alone does not complete agent authentication and authorisation.
NHI-05 — Overprivileged NHIScoped tokens can still grant too much execution power for a dynamic agent session.
NHI-10 — Human Use of NHIThe article emphasizes delegated human intent embedded in agent identity and policy decisions.
Recommendation — Bind agent authentication to runtime checks so valid credentials cannot authorize unsafe actions by default. Reduce agent privilege envelopes and require per-call evaluation before sensitive tool use. Track the human delegator in every agent authorization decision and audit record.
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe core issue is misuse of delegated identity and privilege at runtime in an agentic system.
Recommendation — Evaluate each agent tool call against live identity, privilege, and trust context before execution.
NIST AI RMFGOVERN — AI Governance and AccountabilityRuntime authorization and delegated accountability are governance issues for AI systems.
Recommendation — Define governance rules for delegated AI actions and enforce accountability across the full action chain.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about separating access entitlement from action authorization.
Recommendation — Use PR.AA-05 to ensure agent entitlements are evaluated before each high-risk action.

Key terms

  • Agent Identity: An agent identity is the set of attributes, credentials and permissions assigned to an autonomous software entity. It is treated as a non-human identity because it can authenticate, act on systems and accumulate access over time, which creates governance, audit and lifecycle obligations similar to other production identities.
  • Runtime Authorisation: Runtime authorisation is the practice of deciding access while a task is in progress, rather than only at provisioning time. It matters for NHIs because credentials and entitlements can change risk mid-session, especially when automation or AI agents interact with sensitive systems.
  • Delegated Identity: Delegated identity is when one actor acts on behalf of another with explicit permission and bounded authority. In AI-assisted commerce, it requires clear consent, limited scope, and traceable records so the retailer can distinguish authorised delegation from unauthorised automation.
  • Zero Standing Permissions: Zero standing permissions means an actor holds no durable broad privileges between tasks. Access is issued only when needed, scoped tightly to the action, and removed or contracted when the task ends or the context changes. For agents, this is a behavioural control as much as an access model.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 23, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org