TL;DR: AI agents can leak credentials through prompt injection or indirect content ingestion, so credential brokering is emerging as the trust boundary that keeps secrets out of the agent while still letting it act, according to Infisical. The core shift is that security teams must govern agent access without assuming the agent itself is a safe place to hold credentials.
Editorial analysis by NHI Mgmt Group, based on content published by Infisical: “Credential Brokering for AI Agents, Explained”.
Key questions
Q: What breaks when AI agents keep standing credentials?
A: The access model breaks because the agent can continue acting after the human has moved on, the workflow has shifted, or the original approval is no longer relevant.
Q: Why do AI agents need a separate trust boundary from the services they call?
A: Because the agent is the decision-making layer, not a trusted vault.
Q: How can security teams reduce credential exposure in agent workflows?
A: Use a broker or proxy that injects credentials after the agent has formed its request, rather than placing secrets in the agent’s environment.
Practitioner guidance
- Define a brokered trust boundary for agent credentials Separate the agent runtime from the secret-bearing component so the agent can request access without ever seeing the underlying token, key, or certificate.
- Route outbound agent traffic through a private proxy Force agent requests through a broker on a private network path so credential injection happens outside the agent process and cannot be replayed through a public endpoint.
- Minimize the secrets each agent can ever observe Replace direct secret exposure with placeholder values and scoped substitution rules so the runtime never holds more credential material than it needs for the task.
Bottom line: AI agents create a control problem because the system that decides what to do can also be manipulated into exposing the credentials it needs.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Credential brokering is a trust-boundary pattern, not a tooling preference. The article correctly frames the core issue as the agent being useful but untrustworthy with secrets. That distinction matters because the control problem is not simply secret storage, it is preventing the runtime that makes decisions from also becoming the runtime that holds the credential. For identity teams, the boundary has to sit between action and secret visibility, not inside the agent.
A few things that frame the scale:
- 88% of organisations have embedded AI agents in their workflows, according to KPMG's 2026 report.
A question worth separating out:
Q: What should IAM teams evaluate before allowing shared AI agent access?
A: They should evaluate whether the access path can be scoped per user, revoked centrally, and audited in a structured way. If any of those are missing, the organisation will struggle to prove what the agent did, who it acted for, and whether the access remained appropriate.
👉 Read our full editorial: Credential brokering for AI agents and the new trust boundary