A traditional secrets vault was built around a human cadence: rotate the database password every ninety days, reissue the service account key when someone remembers to, check the box on the audit. That cadence assumed a small, slow-moving population of credentials. AI agents break the assumption outright. An agent that spins up a sub-task, calls three APIs, and tears itself down a minute later wants a key for that minute, not for the quarter. Multiply that across a fleet of agents spawning sub-agents and the result isn't a rotation schedule anymore, it's a stream.
The mismatch isn't really about vault performance — a vault can technically issue a credential in milliseconds. It's about the operating model wrapped around it: approval queues sized for human requests, rotation jobs that run nightly, audit review built for a few hundred long-lived secrets rather than thousands of seconds-long ones. A secret that lives and dies inside one task doesn't fit a system designed to track secrets as durable objects with owners and renewal dates. Picture a team that wires its agent framework to pull a long-lived API key once at startup and cache it for the agent's entire run, because requesting a fresh one per call felt too slow against the old vault's request flow. That one shortcut quietly reintroduces a standing credential — exactly the thing short-lived issuance was supposed to avoid — because the surrounding process couldn't keep pace with the workload.
The architectural answer looks the same as it does everywhere else in privileged access management: stop treating the credential as the control point and treat the grant as the control point. A request for access — human or agent — should flow through a just-in-time decision, produce a session that is time-boxed to the task rather than to a calendar, and revoke itself automatically when the task ends or the window closes. For an AI agent that's calling an external API for ninety seconds, the credential it holds should have a lifespan measured in the same ninety seconds, not in weeks, and it should never need a human to notice it's still floating around afterward.
Why this is harder than it sounds
Humans are comfortable with multi-second latency on an access request; nobody complains if an SSO prompt takes a moment. Agents calling agents calling APIs are not nearly so patient, and a review step that works fine for a person requesting elevated access can become a bottleneck when it's invoked thousands of times a minute by a swarm of sub-tasks. The practical challenge isn't inventing just-in-time access as a concept — it's making the issuance and revocation fast and automated enough that nobody is tempted to cache a credential just to dodge the latency, while keeping the decision auditable enough that a security team can still answer who had access to what, when, and why.
This is also where the service-account version of the problem gets harder than the human one: a person can be asked to re-authenticate, but a background agent has no face to challenge and no patience for a prompt. The grant has to be evaluated on context the system already has — what task is running, what scope it was given, what it's allowed to touch — rather than on an interactive check. Get that logic wrong and you either throttle the agents into uselessness or quietly fall back to long-lived keys stuffed in a config file, which is the exact failure mode a vault was supposed to prevent in the first place.
PAFTAK has years of experience implementing and architecting PAM solutions, and the pattern underneath this problem isn't new even if the velocity is. Whether the identity requesting access is a person, a service account, or an AI agent, the question is the same: does this identity need standing access, or does it need a grant for exactly as long as the task takes? Vaults that were built to store secrets patiently are being asked to keep up with identities that don't wait. The fix isn't a faster vault. It's refusing to let any identity — human, service, or agent — hold more access, for longer, than the task in front of it actually requires.