TL;DR: AI agents can use MCP to discover and call tools, but 1Password argues that raw credentials should stay out of non-deterministic model flows because authentication needs deterministic, auditable boundaries, not probabilistic inference, according to 1Password. The practical issue is not whether agents are useful, but where secrets and least privilege stop being safely enforceable.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on 1Password's blog post: MCP is appropriate for low-risk agent access patterns, but credentials and secrets should not be passed through non-deterministic AI or LLM flows.
Why it matters: IAM and NHI teams need to separate discovery and authorization from secret delivery, or AI agent workflows can undermine least privilege, revocation, and auditability.
Context
MCP is a protocol for connecting AI agents to tools and data sources through structured interfaces, but the identity question is where authorization stops and secret handling begins. The article frames that boundary as the difference between deterministic access control and probabilistic model behaviour, which is exactly where many AI agent governance models become fragile.
For identity teams, the risk is not that agents cannot be useful. The risk is that raw credentials, tokens, and other secrets move into model context or loosely governed tool flows, where least privilege, revocation, and audit trails stop being reliable control points.
Key questions
Q: How should security teams govern AI agent identities in MCP workflows?
A: Treat each agent as a governed non-human identity with an owner, task scope, expiry window, and revocation path. The key control is not just authentication at start-up, but continuous authorization at tool boundaries so the agent cannot expand its own effective privilege through chained actions.
Q: Why do AI agents complicate secret revocation and auditability?
A: Agents can cache, reuse, or forward secrets in ways that are hard to predict once those secrets enter model context. That makes revocation less reliable and audit trails less complete, because the credential is no longer confined to a clean issuance and consumption lifecycle.
Q: What breaks when credentials are passed through LLM-driven workflows?
A: Least privilege, traceability, and revocation all become weaker when a secret is exposed to a probabilistic system. The workflow can still function, but the identity boundary stops being deterministic, which means a later approval or revocation may not fully control prior exposure.
Q: How can teams let agents act without handing over raw secrets?
A: Use access without exposure: let the agent discover tools and metadata, then inject credentials on the agent’s behalf only for tightly bounded actions. That approach preserves user accountability, reduces secret sprawl, and keeps sensitive access within a governable lifecycle.
Technical breakdown
Why MCP needs a clean authorization boundary
MCP can expose tools and data to AI agents through a declarative interface, but authorization still has to occur through a deterministic path. The article distinguishes MCP data flow from OAuth 2.1 authorization, which is important because the resource owner and the resource server are not the same control plane as the model prompt or agent context. If authentication logic is mixed into the model path, you lose predictable enforcement and introduce ambiguity about who approved what, when, and for which scope. For identity governance, that means the protocol boundary must stay separate from secret exchange.
Practical implication: keep authorization and secret issuance outside the model context and design the MCP boundary around least privilege.
Why raw credentials do not belong in LLM context
Once secrets enter a non-deterministic model or agent context, they can be retained, echoed, cached, or passed into downstream tools in ways that are hard to predict and harder to revoke. Prompt injection and hidden tool instructions increase the chance that an agent will misuse information even when the original intent was legitimate. From an NHI perspective, this is not just a data-handling issue. It is a lifecycle problem because the credential’s usable state becomes detached from a clean issuance and revocation process. That breaks the assumption that a secret remains controllable after disclosure.
Practical implication: do not deliver reusable secrets to agents through prompt or context channels, especially where downstream tool chaining exists.
Where least privilege becomes the governing pattern for AI agents
The article’s preferred model is access without exposure: inject credentials on behalf of the agent when possible, keep human users accountable for sensitive approvals, and ensure any delivered credentials are short-lived, revocable, and tightly scoped. That is an identity architecture pattern, not a product feature. It aligns with the idea that AI agents should discover and request access without being handed persistent authority. For practitioner teams, the key design question is whether the agent needs the secret itself or only the result of a governed authorization decision.
Practical implication: scope agent access to outcomes and metadata first, then use ephemeral credentials only when the workflow truly requires them.
NHI Mgmt Group analysis
Deterministic auth boundaries are the control plane for agentic access. The article is right to separate MCP data flow from authorization flow, because identity governance depends on knowing where the decision was made and what scope it produced. When that boundary blurs, auditors cannot distinguish approved access from model-mediated inference. Practitioners should treat the boundary itself as the asset to govern, not just the credentials moving across it.
Raw credentials become structurally harder to govern once they enter model context. Secrets are manageable when they remain in a lifecycle that includes issuance, scope, audit, and revocation. That assumption fails when an agent can cache, reuse, or forward them through downstream tools. The implication is that secret handling for AI agents needs a separate trust model from ordinary API access.
Least privilege for AI agents is a design constraint, not a tuning exercise. The article’s low-risk metadata use case shows that MCP can be useful without granting broad authority. That is the right mental model for NHI governance: expose only what the workflow needs, and keep higher-risk actions behind a separate authorization path. Practitioners should redesign agent access around narrow capability slices, not broad interactive sessions.
Access without exposure is the right named concept for this pattern. The article describes a model where agents can act on behalf of users without ever receiving raw credentials directly. That is a useful governance concept because it preserves auditability while reducing the blast radius of secret exposure. Security teams should standardise on this pattern for any agent workflow that touches sensitive systems.
MCP expands interoperability, but it does not replace identity control. Protocol-level convenience can obscure the fact that identity, authorization, and secret management still need separate enforcement layers. The field should expect more agent workflows to fail not because the protocol is weak, but because organisations collapse control boundaries inside it. Practitioners should preserve those boundaries if they want scale without trust erosion.
From our research library:
- 1 in 3 organisations encountered suspicious AI agent activity in 2025, and 99.4% experienced a SaaS or AI ecosystem incident.
- Read next: Agentic AI Identity Guide
What this signals
Access without exposure is becoming the practical pattern for agentic identity governance: let agents discover and request work, but keep secret delivery outside the model context. That preserves deterministic control over issuance and revocation while still allowing automation to scale.
MCP is useful where the workflow needs structured discovery and low-risk metadata, but it should not become the transport layer for reusable credentials. Once a secret can be cached, forwarded, or inferred from context, the governance model is already behind the design.
1 in 3 organisations encountered suspicious AI agent activity in 2025, and 99.4% experienced a SaaS or AI ecosystem incident, according to the State of Secrets Sprawl 2026. That is why agent access design now has to assume exposure pathways, not merely trusted intent.
For practitioners
- Define a hard MCP secret boundary Allow MCP only for low-risk discovery and metadata workflows, and keep raw credentials, tokens, and other secrets out of model context entirely.
- Separate authorization from data exchange Route credential issuance through deterministic, auditable control paths such as OAuth-based authorization rather than through prompt-driven agent interactions.
- Use ephemeral access for agent tasks Issue short-lived, revocable credentials only when an agent must perform a bounded action, and scope those credentials to the minimum viable privilege.
- Audit agent workflows for secret propagation Check whether agents cache, forward, or hand off secrets to downstream tools, then redesign any workflow where revocation would be impossible after exposure.
Key takeaways
- AI agents can be powerful intermediaries for discovery and workflow execution, but they should not be given direct access to reusable credentials.
- The core governance problem is not MCP itself, but the loss of deterministic control when secret handling is pushed into model context.
- Practical agent security starts with narrow authorization boundaries, short-lived access, and workflows that preserve auditability after the fact.
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 SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The article centers on deterministic authentication boundaries for AI agent access flows. |
| NHI-07 — Long-Lived Secrets | It warns against exposing reusable credentials to agents where revocation becomes unreliable. | |
| NHI-10 — Human Use of NHI | The article stresses human authorization when agents act on behalf of users. | |
| Recommendation — Separate authentication from model-driven data flow and keep secret exchange outside LLM context. Replace reusable secrets in agent workflows with short-lived credentials and tight scope limits. Require explicit human approval before sensitive agent actions and avoid indirect secret sharing. | ||
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Agent privilege misuse is the central risk when AI workflows carry credentials. |
| Recommendation — Constrain agent privileges so model-driven actions cannot exceed approved identity scope. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The piece is fundamentally about managing secrets and authenticators across their lifecycle. |
| Recommendation — Use IA-5 to govern issuance, storage, rotation, and revocation of credentials used by agents. | ||
Key terms
- Deterministic Authentication: An authentication approach that produces consistent, explainable outcomes from defined signals and rules. It reduces ambiguity in trust decisions, which is useful when consumer journeys need to balance usability, fraud resistance, and repeatable policy enforcement.
- Access without exposure: A design pattern where an identity can perform a task or query data without receiving the underlying secret itself. For agentic workflows, this means brokering access at execution time, limiting data visibility, and preserving custody outside the model context so the secret remains revocable and auditable.
- Non-Deterministic Flow: A non-deterministic flow is a runtime path where the exact sequence of decisions can vary based on model inference, context, or prompt content. For identity and access control, that variability makes it a poor place to exchange reusable credentials, because enforcement and revocation become harder to guarantee.
- Secret Context: Secret context is the metadata that explains what a credential is, who owns it, when it was created, and what it can access. Without that context, a secret is only a string. With it, teams can judge exposure severity and decide whether to rotate, revoke, or investigate.
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.
Published by the NHIMG editorial team on June 11, 2026.
Updated on October 10, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org