Your AI coding agent may have access to more than your code. To understand what that means for IAM, start with the credentials on your laptop.
Open a terminal on your work laptop and run this:
ls ~/.aws ~/.kube ~/.ssh
Then go look at the MCP config your coding agent reads when it starts up.
That's your path to prod. Some of it expires in an hour, some of it hasn't rotated since you were onboarded, and all of it lives on a machine that also opens email attachments and pulls packages off the internet.
If you're on a platform team, you already know your laptop is one of the most privileged identities in the company. Most of us just don't say it out loud.
The same goes for every other system that holds keys on your behalf including the build server, the CI pipeline and the platform you deploy to. This fall, attackers made it very clear what they want from those systems. Security researchers counted at least nine AI developer platforms disclosing incidents in October alone, and the count has kept climbing.
One of them was Railway. As a practitioner, the incident report is worth reading. Credit to them for writing it up this openly. The attacker escaped build isolation and picked up a build credential meant only to push images, which an internal service trusted for far more. A misconfigured CI identity binding then handed over short-lived cloud credentials. From there it accessed a stored SSH key, a long-lived credential sitting on a server's disk and a direct line into the database holding customers' encrypted secrets.
Then the attacker queried that database for one thing. They were targeting AI provider credentials.
That's the point. AI keys are the target now, whether the attacker is a human or an agent. They're expensive, they resell and they usually sit right next to everything else an engineer can reach. Gal Diskin, who runs Delinea Labs, put it well in our latest research when he said AI credentials "are the keys that are used to get the other keys to many kingdoms." Notice what didn't happen in that chain; nothing got cracked because every hop was a valid credential that was trusted for more than its job.
Now look back at your laptop. It holds your cloud profile, your kubeconfig and, more and more often, AI provider keys. It also runs a coding agent that works with all of it, moves faster than you do, and acts on what it thinks your prompt meant.
None of this is a knock on cloud IAM. If you've done the work (SSO into your accounts, roles instead of users, short-lived credentials instead of access keys in a dotfile), you've done what AWS Well-Architected SEC02-BP02 asks for. Keep doing it.
It does help to be precise about where identity and access management (IAM) does that job. AWS describes its services in two halves.
The cloud control plane is the set of administrative APIs that create, read, update, delete and list resources: stand up a database, change a role, resize a node group. The cloud data plane is where those resources do their actual work: the queries a database serves, the pods a cluster runs, the commands a host executes. Azure draws the same line between Actions and DataActions in its role definitions, and Google Cloud splits Admin Activity audit logs from Data Access logs (which are mostly off by default).
Cloud IAM is great at the control plane. Inside the session, it gets thin. IAM can authorize the connection to your database. It never sees the DELETE that runs once you're connected. CloudTrail shows the API call, not the query. Kubernetes RBAC sees the exec, not what gets typed in the shell it opens. Some data plane calls, like reading an S3 object, do go through IAM. The ones that hurt most, inside a database session, a shell or a pod, mostly don't. Even SEC02-BP02 treats database logins and other non-IAM credentials as their own problem.
Railway's breach is a clean worked example. Its CI pipeline used short-lived cloud credentials, exactly what Well-Architected recommends. One bad identity binding in the cloud control plane was enough to get them. Everything that hurt happened afterward, in the cloud data plane: an SSH session onto a server, a credential read off its disk, a query against a database. Short-lived credentials were the right call, they just weren't a decision point.
That's the gap. Delinea extends Privileged Access Management (PAM) into a continuous authorization model. In plain terms: Cloud IAM decides who can call the API and runtime authorization decides what happens inside the session. IAM enforces exactly what it's given, and what it's given drifts. Roles pile up, admins hide in nested groups and the grant you got for one incident never goes away.
Delinea Privilege Control for Cloud Entitlements continuously discovers identities and their entitlements across AWS, Azure and Google Cloud and flags excess, so the control plane stays right-sized. Posture finds the access that shouldn't exist; runtime authorization governs the access that should.
Agents can call cloud APIs too, and some of yours probably do. But what you actually hand them in instructions to fix the failing migration, figure out why the payments pods are crash-looping and patch that host. That's data plane work, so that's where their access needs to be scoped and decided.
For many teams, it isn't. Delinea's 2026 Identity Security Report, Fall Edition found that 50% of IT leaders fall back on the user's existing permissions as the boundary for what an AI agent can access. This means the agent gets whatever you've got. And 87% of IT leaders say an AI tool or agent accessed sensitive data beyond its intended scope in the past year.
The report calls the underlying problem identity debt, which is a good name for it. All the access piled up on a human account over the years (that role you got for one incident and never gave back) is suddenly being exercised by something that doesn't stop to ask.
The places agents work hardest are also the least covered: 47% of organizations lack enforcement at the moment of action across at least two of six major environments, with CI/CD pipelines and Kubernetes among the weakest. That's exactly where your coding agents live.
It cuts both ways. Your agents work in the data plane, and so do the attacker's. In the Railway breach, the attacker used agents to comb the codebase for new footholds and move laterally faster than a human team could keep up. Railway described its response as a race between agents.
The frameworks have caught up. The OWASP Top 10 for Agentic Applications lists Identity & Privilege Abuse (ASI03) and Tool Misuse & Exploitation (ASI02). MITRE ATT&CK has tracked the attacker version for years as Valid Accounts: Cloud Accounts (T1078.004). An agent running with your credentials looks exactly like a valid account, because it is one.
The report includes a clear example of how this goes sideways without any attacker at all. A coding agent in PocketOS's staging environment encountered a credential error, found an unrelated API token, and used it to delete the production database and its nearline backups within nine seconds. Just an agent that wanted to finish its task, and a credential it could reach.
Here's what that looks like day to day. One thing to keep straight first: an agent that acts as you (the coding agent on your laptop) and an agent that calls tools through a gateway are different patterns. They get controlled differently.
With credential injection, engineers connect to databases, hosts and clusters without ever holding the credential. Nothing sits in a dotfile or on a server's disk waiting to be stolen. Desktop agents get the same deal, they reach what you're entitled to through the local client, never see a credential and every action lands in the audit log.
Pipelines are another place where keys pile up. Where a job genuinely needs its own credential, Delinea’s Workload Secrets capabilities, still in preview as of this writing, can hand it a dynamic secret that's created at request time and expires after the run. No long-lived key left on a build server's disk for someone else to find. No long-lived key left on a build server's disk for someone else to find.
The client can tell when a connection comes from a known AI tool (Claude Code, Codex, Cursor and others) and attach that to the session. Policy can use it. This Cedar policy, straight from the docs, keeps agents off anything tagged prod without touching the engineer's own access:
forbid (
principal,
action,
resource
) when {
context has initiator && context.initiator.ai_agent != "" &&
resource.hasTag("env") && resource.getTag("env") == "prod"
};
You still get to prod. Your agent doesn't. Sessions get re-evaluated for as long as they're open, so tightening a policy also ends agent sessions that no longer comply.
For Postgres and SQL Server, policies can evaluate individual statements, so a read goes through while a destructive write gets stopped, and access to sensitive data can be controlled via contextual attributes. For agents calling external tools through an MCP gateway, policy applies to each tool call. Different patterns from the agent on your laptop gives the same idea of deciding at the moment of action.
None of this should apply only to agents. Just-in-time access works the same way for engineers. You should request prod, get approved in Slack or through your on-call schedule, and the grant expires on its own. Fixing agent access is a good excuse to tighten human access, too.
You track MTTR religiously. Almost nobody tracks how long a bad grant stays live after it should have died.
The report says we should. 55% said it took a day or longer to detect the most recent out-of-scope AI access, and for 30% it took four days or longer. 42% of IT organizations don't have an automatic way to revoke AI agent access when a session ends. Put that next to the PocketOS agent that needed nine seconds.
Railway's timeline is a good reality check, too. Roughly six and a half hours passed between the first exploit and the page that got someone looking, and that was a team with good alerting. Their remediation list afterward reads a lot like the checklist below: credentials that are short-lived, narrowly scoped and issued just-in-time, approvals with 2FA in CI, and every decrypt operation audit-logged.
If you want something to do Monday morning:
Inventory what's on engineering laptops. Cloud profiles, kubeconfigs, SSH keys, MCP configs, AI provider keys.
Find the access that shouldn't exist. Excess cloud entitlements, stale accounts and shadow admins, before an agent finds them for you.
Tag prod. Policy can only protect what it can tell apart.
Split the AI path from the human path. Same user, separate policy.
Put per-action policies on your crown-jewel databases.
Run a revocation drill. Pull a grant mid-session and time how long it takes for access to actually stop.
Cloud IAM decides who can call your cloud's APIs; Delinea decides who gets into the systems those APIs create, for how long and what people and their AI agents can do once they're inside.
A little more on that:
It adds to IAM, it doesn't replace it. Federation, roles and your identity provider keep doing their jobs.
It covers the credentials IAM doesn't. Database logins, SSH and Kubernetes access.
It's one policy layer across where your engineers actually work: AWS, Azure, Google Cloud, Kubernetes and on-premise.
It splits the AI path from the human path, so an agent doesn't inherit everything its engineer can reach.
Cloud IAM got the cloud control plane right, and it should stay in charge there. The work happens in the data plane, the keys attackers want most right now are the AI ones, and more of that work every month is done by agents running on the same laptops that hold those keys. Put a decision point where the action happens.