CIEM (cloud infrastructure entitlement management) is the practice, and the tooling, that finds every human and machine identity in your AWS, Azure and GCP accounts, compares the permissions each one has been granted with the permissions it actually uses, and closes the gap. It is how teams make least privilege real across hundreds of roles, keys and service accounts.
Key points
- Cloud identities collect permissions far faster than anyone removes them. CIEM measures the difference.
- It works from evidence: who has what (policies) against who used what (audit logs, usually over 90 days).
- It covers people, but most of what it finds belongs to machines: service accounts, access keys, app registrations, CI/CD roles and, increasingly, AI agents.
- CIEM is not a replacement for IAM. IAM grants access; CIEM tells you whether that access still makes sense.
What is CIEM?
Every cloud account has two pictures of access. The first is the one you wrote down: the roles, policies and group memberships someone created on purpose. The second is the one that actually exists after two years of incidents, migrations, “temporary” admin rights and a vendor integration nobody remembers approving.
CIEM is the discipline of reconciling those two pictures. It reads every identity and every policy across your cloud accounts, works out what each identity can effectively do, and then checks that against what the identity has really done. The output is a short, defensible list: this role has 400 permissions and has used 12; this access key hasn’t been touched in 200 days; this vendor account can still assume a role in production.
A few terms come up constantly, so it’s worth pinning them down:
| Term | What it means in practice |
|---|---|
| Entitlement | Any permission an identity holds, whether granted directly, through a group, through a role it can assume, or through a policy on the resource itself |
| Effective permission | What the identity can actually do once every allow, deny, boundary and inherited policy is combined. This is rarely what the console shows you at a glance |
| Granted vs used | The gap between effective permissions and the actions recorded in audit logs over a set window. That gap is the attack surface CIEM shrinks |
The name is a mouthful, and the idea is simple: if an identity doesn’t use a permission, it shouldn’t keep it. The hard part, and the reason CIEM exists as a category, is doing that across thousands of identities and three cloud providers without breaking production.
Why does CIEM matter now?
Because in 2026, the most common way into a cloud account isn’t a clever exploit. It’s a valid identity.
Look at what researchers reported between June and November this year. A data-platform vendor’s cross-account roles, still trusted by customer accounts, were abused for 12 days in October before anyone noticed.
In early November, stolen Entra app-registration secrets were used to reach 27 organisations through their managed service providers.
In both cases, the attacker didn’t break a single permission check. They used access that had been granted legitimately and simply never taken back.
Two things make this worse each year:
- Machine identities outnumber people, by a wide margin. Every pipeline, microservice, integration and AI agent gets its own credentials. We’ve covered why in our guide to non-human identities; the short version is that they’re created by automation and almost never retired by it.
- Attackers now move at machine speed too. Researchers documented an AI-driven intrusion in which a secret leaked on public GitHub became data exfiltration from a cloud key vault in five minutes [link: Microsoft Threat Intelligence, 5 Nov 2026]. When access can be abused that quickly, quarterly access reviews aren’t a control. They’re paperwork.
CIEM matters because it shrinks what any single stolen identity can reach before anyone has to detect anything.
How does CIEM work?
Under the hood, most CIEM approaches follow the same five steps. The quality of a CIEM tool shows in how well it does steps 2 and 3.
- Discover every identity and policy. Users, groups, roles, service accounts, access keys, app registrations, managed identities, workload identities and the policies attached to each, across every account, subscription and project.
- Calculate effective permissions. Combine identity policies, group memberships, role chains (role A can assume role B, which can assume role C), resource policies, permission boundaries and explicit denies. This is where spreadsheets give up.
- Compare with real activity. Read the audit logs (AWS CloudTrail, Azure activity and sign-in logs, Google Cloud audit logs) to see which permissions each identity actually exercised over a window, typically 90 days.
- Flag the risk. Dormant identities, unused permissions, long-lived keys, wildcard policies, trust relationships with outside accounts, and paths that let one identity escalate into another.
- Right-size and keep watching. Recommend a smaller policy built from real usage, apply it carefully, and alert when an identity starts doing something it never did before.

Why 90 days? It’s long enough to catch monthly jobs and quarter-end batch runs, and short enough that the result still reflects how the system works today. Some identities, such as disaster-recovery roles, legitimately sit unused for longer; good CIEM practice is to tag those as exceptions rather than strip them.
What does CIEM actually find?
When teams run a granted-vs-used review for the first time, the findings tend to fall into six buckets. None of them is exotic. All of them have featured in real breaches this year.
| Finding | What it looks like | Why it matters |
|---|---|---|
| Dormant identities | A service account or user with no activity in 90+ days | Nobody notices when it’s used again, which is exactly why attackers like it |
| Unused permissions | A role with hundreds of allowed actions that uses a dozen | Every unused permission is something a thief gets for free |
| Long-lived access keys | Static keys older than 90 days, sometimes years | Keys leak into repos, images and chat logs; age makes a leak more likely and more damaging |
| Outside trust | Roles or apps that let another account or tenant in | Vendor and partner access often outlives the contract |
| Escalation paths | An identity that can modify policies or assume a more powerful role | One low-risk identity becomes an admin in two steps |
| Identities nobody planned | New users, keys or service accounts created outside your pipeline | In 2026 cloud-hijacking cases, attackers created their own accounts and rotated them to dodge clean-up |
The last row deserves a moment. In the LLMjacking campaigns researchers described in November, attackers used stolen access to run expensive AI models on the victim’s bill, with charges above $100,000 a day in some cases: Google Threat Intelligence Group, 16 Nov 2026. Part of how they stayed in was by creating new identities of their own. A CIEM review that only looks at the identities you know about would miss them.
CIEM vs IAM vs CSPM vs PAM
These four get confused because they all touch identity. They answer different questions.
| IAM | CIEM | CSPM | PAM | |
|---|---|---|---|---|
| Question it answers | Who is allowed to do what? | Is that access still justified? | Is the cloud configured safely? | How is privileged access checked out and recorded? |
| Main subject | Identities and policies | Effective permissions vs real use | Resources and settings | Admin sessions and vaulted credentials |
| Typical data | Policy definitions | Policies plus audit logs | Configuration snapshots and events | Session logs, vault records |
| Typical output | A role or policy | A right-sized policy, a list of dormant or risky identities | A misconfiguration finding | An approved, time-bound session |
| Covers machine identities well? | Defines them | Yes, it’s most of the work | Partly | Rarely |
A simple way to remember it: IAM is the rulebook, CIEM is the audit of the rulebook against reality, CSPM checks the building, and PAM guards the keys to the server room. You need the first three for any serious cloud estate, and the fourth if people still log in with standing admin rights.
Is CIEM part of CNAPP?
Yes, and it’s more useful inside one than on its own.
On its own, CIEM produces a long list of over-permitted identities. Every item on that list is technically a risk, but not every item is urgent. What turns the list into a priority order is context from the rest of a cloud-native application protection platform (CNAPP): is the workload behind this role exposed to the internet? Does it have an exploitable vulnerability? Can this role reach a database full of customer records?
An over-permitted role on an internal batch job is housekeeping. The same role on an internet-facing API server, running a package with a known exploit, with read access to personal data, is the start of a breach. CIEM finds the role; the rest of the CNAPP tells you which one to fix before lunch.
How do I get started with CIEM?
You don’t need a tool to take the first step. Most teams can do the following this month:
- Inventory identities per account. Users, roles, service accounts, keys and app registrations. Note who owns each one. The ones without an owner are your first suspects.
- Find what hasn’t been used in 90 days. Every cloud provider exposes last-used data for keys and roles. Disable before you delete, and give owners a week to object.
- Review every outside trust. List roles and apps that another account, tenant or vendor can use. Ask one question of each: is this contract or project still live?
- Schedule granted-vs-used as a habit. Pick your ten most powerful production identities and right-size them from real usage. Then make it a monthly review, not a yearly project.
If you want the exact commands for AWS, Azure and GCP, our 15-minute forgotten-key hunt walks through each check, read-only.
How Cy5’s ion approaches CIEM
Cy5’s ion platform treats CIEM as one view of a single graph rather than a separate product. ion compares granted and used permissions over 90 days for human, machine and AI-agent identities across AWS, Azure and GCP, and flags dormant identities, unused keys, wildcard policies, outside trust and escalation paths.
The difference is what happens next. Because ion also sees exposure, vulnerabilities and where sensitive data sits, it ranks an over-permitted identity by its blast radius: how exposed it is, how sensitive the data it can reach is, and how far an attacker could move from it. The result is a short list of identity fixes that actually reduce risk, rather than a spreadsheet of thousands. You can see how the module fits together on the CIEM page and the ion platform overview.
Perspective: Vikram Mehta, Founder and CEO, Cy5 [Draft for Vikram to rewrite or approve]
When I ran security for a large consumer platform, the identity that worried me was never the one with the scary name. It was the boring service account created for a migration three years earlier, still holding permissions nobody could explain. Nobody owned it, so nobody watched it. CIEM is how you find those before someone else does. Start with your ten most powerful production identities. You’ll learn more about your real risk in an afternoon than in a month of dashboards.
Frequently asked questions
Cloud infrastructure entitlement management. “Entitlement” means any permission an identity holds in your cloud accounts, however it was granted.
No. IAM is where you define who can do what. CIEM checks whether those definitions still match what identities actually do, and shrinks the ones that don’t. You need both.
CSPM looks at how cloud resources are configured, such as public storage or open network rules. CIEM looks at identities and their permissions. Many breaches need both a misconfiguration and an over-permitted identity, which is why CNAPP platforms combine them.
Usually, yes. A single AWS or Azure estate with a few dozen accounts can hold thousands of roles, keys and service accounts. The multi-cloud angle makes CIEM harder, not more necessary.
It covers monthly and most quarterly jobs while still reflecting current behaviour. Identities that legitimately run less often, such as disaster-recovery roles, should be tagged as exceptions rather than stripped.
It should. Machine identities, including the credentials AI agents use, make up most of what a CIEM review finds. If a tool only covers human users, it is covering the smaller part of the problem.
Not normally. CIEM reads identity configuration and audit logs through read-only access to your cloud accounts.