Technical Convos

AI Agents Are the Newest Privileged Identity. PAM Has to Catch Up.

AI agents are becoming standard in enterprise operations and most organizations are managing their credentials the same way they managed service account passwords a decade ago. Hardcoded. Embedded in configuration. Shared without oversight. Nobody really owns them.


The perimeter of privileged access management has always expanded over time. It started with human administrators and domain admin accounts. It grew to include service accounts, shared credentials, and cloud IAM roles. It expanded again to cover DevOps pipelines, CI/CD secrets, and API keys embedded in application code.

The next expansion is already happening. AI agents — automated systems that connect to infrastructure, query databases, retrieve secrets, execute workflows, and take actions on behalf of users and applications — are becoming a standard part of enterprise operations. And most organizations are managing their credentials the same way they managed service account passwords a decade ago. Hardcoded. Embedded in configuration. Shared without oversight. Nobody really owns them.

This is not a future problem. It is a current one.


Why It Matters

An agent with credentials is a privileged identity

An AI agent that can read files, query a database, call an API, or execute commands is a privileged identity. It may not look like one in your identity governance tooling. It may not appear in your PAM vault. It may not be included in your access reviews. But from an access control perspective it is functionally equivalent to a service account with whatever permissions it has been granted — and in many cases those permissions were granted at deployment without much thought about what least privilege looks like for a machine that makes decisions autonomously.

The attack surface this creates is significant. An agent with hardcoded credentials is a credential waiting to be stolen from wherever it is stored — a configuration file, an environment variable, a prompt, a deployment script. An agent with standing access to sensitive systems is an always-on privileged session with no checkout, no time limit, no rotation, and no audit trail that connects its actions to a specific authorized request. An agent that can be manipulated through its inputs — prompt injection being the most discussed mechanism — can be turned into a privileged insider by an attacker who never touches the underlying infrastructure directly.

The credential is the target. For AI agents, the credential is often completely unmanaged.


The PAM Lesson

The controls already exist — they need to be extended

The good news is that the PAM discipline already has the answers. The same controls that apply to human privileged accounts apply to non-human ones. The challenge is extending those controls to an identity type that most PAM programs were not originally designed to handle.

The starting point is inventory. You cannot manage what you cannot see. Every AI agent that touches a privileged system needs to be identified, documented, and owned. The same way you would audit service accounts, you need to audit your agent population. Who deployed it, what it can access, what credential it uses, and who is accountable for it.

Least privilege applies directly. An agent that needs to read from one database should not have credentials that allow it to write to ten. An agent that needs to call one API endpoint should not have a token that grants access to the entire platform. Scoping agent permissions at deployment — rather than granting broad access because it is easier — is the same discipline that drives least privilege for human accounts.

Ephemeral credentials are the right architecture for agent authentication. Rather than issuing a long-lived API key or embedding a static credential in a configuration file, the agent should request a short-lived token scoped to the specific action it needs to perform. When the action is complete the token expires. There is nothing to steal from the configuration because there is nothing there. This is just-in-time access applied to machine identities.

Auditability closes the loop. Every action an agent takes using a privileged credential should be logged in a way that connects the action to the specific agent, the specific token, the specific request that authorized it, and the specific outcome. The audit trail for agentic access should be at least as complete as the audit trail for a human privileged session. Without it you have no forensics capability when something goes wrong.


Where the Market Is Heading

PAM controls in the path of agentic requests

PAM vendors are beginning to address this directly. The Model Context Protocol — MCP — is an emerging standard that defines how AI agents communicate with external tools and data sources. Several PAM vendors have released or are developing MCP server implementations that act as a controlled interface between AI agents and privileged systems, applying PAM controls to agentic requests rather than bypassing them.

The principle is sound: the agent requests access through the PAM layer, the PAM layer applies the same controls it would apply to a human session — authentication, authorization, time scoping, audit logging — and the agent receives a short-lived token rather than a standing credential. The vault stays in the chain. The agent never holds a persistent secret.

This is the right direction. Whether MCP becomes the dominant standard or something else emerges, the architectural principle — PAM controls in the path of agentic credential requests — is the one that matters. Agents should not be able to bypass the access control layer any more than human administrators should.


What to Check This Week

Four places to start right now

The perimeter of privileged access management has expanded before. It will keep expanding. AI agents are the current edge of that expansion — and the organizations that extend their PAM discipline to cover them now are the ones that will not be explaining an agentic breach in a post-incident report two years from now.

Disclosure: The author works for Delinea, a PAM vendor that has released an open-source MCP Server implementation. This article does not evaluate or endorse any specific vendor solution.