By NHI Mgmt Group Editorial TeamDomain: EventsSource: AkeylessPublished August 4, 2026

TL;DR: AI agents in Claude Chat, Cowork, and Claude Code can reach production databases and SaaS through MCP, but authentication alone does not stop unintended actions once they are connected, according to Akeyless. Runtime authority, just-in-time credentials, and continuous policy enforcement are now the governance gap that identity teams have to close.


At a glance

What this is: This live demo argues that Claude-connected AI agents need runtime authority, not just authentication, because access decisions must continue after the initial login.

Why it matters: It matters because IAM, PAM, and NHI teams must govern what an AI agent is allowed to do at the moment of action, not only whether it can connect once.

👉 Read Akeyless's live demo on securing AI agents in Claude with runtime authority


Context

AI agent identity governance breaks when teams treat authentication as the finish line. In Claude-connected workflows, an agent may be authenticated once and then continue interacting with production databases, cloud services, and SaaS applications through MCP, which means the real control problem is not login but action-time authority.

That distinction matters for NHI, agentic AI, and broader identity programmes because credentials can exist outside prompts and model context while still being misused if runtime policy is weak. The governance question is whether the organisation can enforce least privilege, intent checks, and auditability while the agent is actively executing.

This demo is about that gap: how to keep credentials out of the LLM context, replace standing access with just-in-time privilege, and preserve forensic traceability across the interaction. The starting position is typical for organisations adopting AI assistants quickly and governance later.


Key questions

Q: How should security teams govern AI agents that use service accounts and MCP tools?

A: Start with ownership, then add runtime attribution and containment. Security teams should know which human deployed the agent, which identity the agent uses, what tools it can invoke, and when to revoke access. If the agent can chain tool calls or spawn sub-agents, governance must cover those paths as well, not just the initial login.

Q: Why do AI agents create more risk than traditional automation?

A: AI agents create more risk because they can interpret context, choose actions, and invoke tools autonomously. Traditional automation follows fixed rules, but an agent can be manipulated into using its own authority in unintended ways. That makes permission scope, tool boundaries, and monitoring more important than model accuracy alone.

Q: What breaks when credentials are removed from prompts but not from the access model?

A: The access model still allows persistent authority even if the model never sees the secret. If standing credentials remain available to the agent or its broker, the system can still perform unintended actions. Secret concealment reduces exposure, but it does not replace least privilege, expiry, or policy enforcement at execution time.

Q: Who is accountable when an AI agent takes an unsafe action?

A: Accountability should sit with the business owner of the agent, the team that provisioned the access, and the control owners responsible for monitoring and revocation. If no one can answer who approved the identity, the scope, and the oversight model, the governance framework is not complete enough for production.


Background and context

Why authentication-only controls fail for AI agents

Authentication proves the actor entered the session, but it does not govern every action that follows. When Claude-connected agents use MCP to reach databases, cloud services, or SaaS applications, the access path can extend well beyond the original login decision. That creates a split between identity verification and runtime authorisation. The security problem is not merely who connected, but what the agent was allowed to do at the moment each request was made. In practice, that means static session approval is insufficient when action scope can change during execution.

Practical implication: treat authentication as entry control only and add runtime authorisation for every agent action.

Just-in-time credentials and credential isolation in MCP workflows

Just-in-time credentials reduce standing exposure by issuing access only for a narrow task window. In agentic workflows, the important extra control is where those credentials live and who can see them. Keeping secrets outside prompts, configuration files, and the model context reduces the chance that the agent will surface or reuse them in unintended ways. This is especially relevant when MCP brokers tool and data access across multiple enterprise systems, because the trust boundary is no longer just the model. It becomes the combination of runtime policy, brokered credentials, and enforced expiry.

Practical implication: separate credentials from model context and make the broker, not the prompt, the access enforcement point.

Intent-aware policy and forensic traceability for agent actions

Intent-aware policy evaluates whether a request matches the organisation’s approved purpose at the time of action. That is different from coarse allowlisting because it adds context about what the agent is trying to do, not just what system it can reach. Full auditability then closes the loop by tying each action back to the originating prompt or request path. For identity teams, this creates a traceable chain from instruction to execution, which is essential when AI agents can independently sequence actions across systems.

Practical implication: require action-level logs that link prompt, policy decision, credential issuance, and downstream system activity.


NHI Mgmt Group analysis

Authentication is not the control boundary for AI agents. Once an agent is connected to enterprise systems, the governance problem shifts from login verification to action-time authority. A one-time access decision cannot safely govern a session in which the agent can continue selecting tools and executing requests across databases and SaaS. Practitioners need to treat the runtime decision as the security boundary, not the initial identity proof.

Standing credentials create hidden authority inside agent workflows. The article’s core operational point is that credentials can be kept out of prompts and still remain dangerous if they persist long enough to be reused. That makes credential lifetime, not just credential secrecy, the decisive control. IAM and PAM teams should read this as a runtime exposure problem, not a prompt-leak problem.

Intent-aware policy is the missing bridge between least privilege and autonomous action. Least privilege is only useful if it can be evaluated against the agent’s purpose at the moment of action. Without intent-aware checks, policy becomes a static entitlement exercise that misses whether the request is appropriate in context. That is why runtime authority is the right governance model for Claude-connected agents.

Runtime traceability must connect instruction to execution. Full forensic traceability is not a nice-to-have for AI agents because the risk is not only misuse, but ambiguity about how a request became an action. Linking originating prompt, policy decision, credential issuance, and downstream activity gives security and compliance teams an evidence chain they can actually investigate. Identity governance for agents has to be provable, not merely declared.

Named concept: runtime authority gap. This is the gap between authenticating an AI agent and governing each action it takes after authentication. It matters because agentic systems can keep acting inside valid sessions while the organisation still lacks a runtime decision point. Practitioners should recognise that their current controls may stop entry but not execution.

From our research:

  • 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems (39%), inappropriately sharing sensitive data (31%), and revealing access credentials (23%), according to AI Agents: The New Attack Surface report.
  • Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation, according to AI Agents: The New Attack Surface report.
  • For a broader control model, see OWASP NHI Top 10 for agentic application risks and governance patterns.

What this signals

Runtime authority will become the separating line between safe experimentation and governable deployment. With 80% of organisations already reporting agent actions beyond intended scope, the operational question is no longer whether agents need access, but whether the enterprise can constrain each action as it happens. Teams should prepare for policy engines, brokered credentials, and traceable execution paths to become baseline controls rather than advanced options.

Action-level visibility is now a programme requirement, not an audit luxury. If only 52% of companies can track and audit what their agents access, then the other half cannot defend their decisions to security, legal, or compliance teams after an incident. That makes logging, evidence retention, and prompt-to-execution traceability a design requirement for AI governance programmes.

Credential isolation is moving from secret hygiene to identity architecture. Credentials that stay outside prompts and MCP files reduce one failure mode, but the larger governance shift is to define a brokered boundary for agent access. Teams aligning to the NIST AI Risk Management Framework should treat runtime authorisation, not one-time authentication, as the control that keeps agent behaviour inside policy.


For practitioners

  • Move enforcement to runtime policy Place the access decision at the moment of action, not only at session start, so agent requests are evaluated against current intent and context.
  • Replace standing credentials with just-in-time privilege Issue task-scoped credentials with short lifetimes and revoke them automatically when the agent completes the approved interaction.
  • Keep secrets outside model context Store credentials in a brokered control plane and ensure they never appear in prompts, MCP configuration files, or other model-visible inputs.
  • Build action-level forensic chains Log the originating prompt, policy decision, credential issuance event, and downstream system calls so investigators can reconstruct each agent action end to end.

Key takeaways

  • AI agents do not become governable simply because they authenticate successfully.
  • The main control gap is runtime authority, where access must be evaluated at the moment of action.
  • Just-in-time credentials, intent-aware policy, and end-to-end audit chains are the controls that turn agent access into something security teams can defend.

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 AI RMF, NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10Runtime action control and prompt-to-execution traceability map directly to agentic application risk.
NIST AI RMFGOVERNAI governance, accountability, and traceability are central to the runtime authority model.
OWASP Non-Human Identity Top 10NHI-03Just-in-time credentialing and secret isolation address standing NHI privilege exposure.
NIST Zero Trust (SP 800-207)Runtime verification and least-privilege access reflect zero-trust access decisions for agents.
NIST CSF 2.0PR.AC-4Least-privilege access management is the baseline control challenged by agentic workflows.

Enforce continuous authorisation and limit each agent interaction to the smallest necessary scope.


Key terms

  • Runtime authority: Runtime authority is the permission an AI system has while it is actively deciding and acting, not just when it is approved. In governance terms, it is the point where access, tool use, and action scope become operational, which is why build-time review alone cannot prove safety.
  • Intent-Aware Policy: A policy model that evaluates what an actor is trying to accomplish, not just which technical action it requested. For agents, this matters because the same tool call can be legitimate or risky depending on prompt, context, and the sequence of actions that follows.
  • MCP: Model Context Protocol, an open way for AI agents to connect to tools and data sources. It improves interoperability, but it also introduces a shared integration layer that must be governed carefully because the protocol can widen access across many systems at once.
  • Forensic Traceability: Forensic traceability is the ability to reconstruct what an identity did, why it was allowed, and which systems were touched. For AI agents, that means linking the originating prompt, policy decision, credential issuance, and downstream activity into one evidence chain.

What to expect at the briefing

Akeyless's full live demo covers the operational detail this post intentionally leaves for the source:

  • Step-by-step runtime access flow for Claude-connected agents using the customer-deployed gateway
  • Live demonstration of just-in-time credential issuance and intent-aware policy enforcement during agent actions
  • Forensic audit workflow showing how activity is tied back to the originating prompt
  • Configuration details for keeping credentials outside prompts, MCP files, and model context

👉 Akeyless's full demo shows the runtime policy flow, credential brokering, and audit trail in action

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 identity security programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 11, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org