# IAM Operations and Privileged Access

> Manage the identity lifecycle, service accounts and privileged access so that permissions stay correct as people and systems change. Free notes, key concepts,...

Canonical: https://www.internhack.in/roadmaps/tracks/cybersecurity/iam-operations
Last updated: 2026-11-28

Manage the identity lifecycle, service accounts and privileged access so that permissions stay correct as people and systems change.

Intermediate · about 3 hours · difficulty 2/5

Learn first: [Authorization and Least Privilege](https://www.internhack.in/roadmaps/tracks/cybersecurity/access-control-models)

Designing access is the easy part. Keeping it correct as people join, move teams and leave is where most organizations fail.

### Identity lifecycle (joiner, mover, leaver)

- **Joiner**: new hire gets a standard role-based set of access on day one.
- **Mover**: when someone changes team, old access is removed, not just new access added. Skipping this causes "privilege creep".
- **Leaver**: all access, sessions and tokens are revoked promptly. Former-employee accounts are a classic breach vector.

Automating this from the HR system into the directory is called **provisioning** (often via SCIM).

### Non-human identities

Service accounts, API keys, CI/CD tokens and cloud workload identities now outnumber humans. They often have broad rights, no MFA and passwords that never change. Inventory them, give them owners, scope them tightly and rotate their secrets.

### Privileged Access Management (PAM)

- Separate admin accounts from daily accounts.
- Vault privileged passwords and rotate them automatically.
- Grant elevation just-in-time with approval, and record privileged sessions.
- Use **break-glass** emergency accounts, heavily monitored.

### Access reviews

Managers periodically confirm who should still have what. Auditors ask for evidence of this under SOC 2 and ISO 27001.

### Pitfalls

- Shared admin accounts, which destroy accountability.
- Service accounts added to Domain Admins "because it was easier".

Move on when you can write a joiner-mover-leaver checklist for a small company and list how you would find stale and over-privileged accounts.

## Key concepts

- **Joiner, mover, leaver**
- **Provisioning and SCIM**
- **Service accounts and API keys**
- **Privileged Access Management**
- **Break-glass accounts**
- **Access reviews and evidence**

## Mini project

Write a script (PowerShell for AD or Python for a cloud API) that lists accounts not used in 90 days and accounts in privileged groups, as input for an access review.

## Check yourself

What is privilege creep, and which lifecycle stage usually causes it?

## Free resources

- [Microsoft Entra ID governance](https://learn.microsoft.com/en-us/entra/id-governance/) (Microsoft)
- [CIS Controls: Account and access management](https://www.cisecurity.org/controls) (CIS)

Previous: [SSO, OAuth 2.0 and OpenID Connect](https://www.internhack.in/roadmaps/tracks/cybersecurity/federation-sso) · Next: [Firewalls and Network Segmentation](https://www.internhack.in/roadmaps/tracks/cybersecurity/firewalls-segmentation)

## More in Identity and Access Management

- [Authentication and MFA](https://www.internhack.in/roadmaps/tracks/cybersecurity/authentication-mfa)
- [Authorization and Least Privilege](https://www.internhack.in/roadmaps/tracks/cybersecurity/access-control-models)
- [SSO, OAuth 2.0 and OpenID Connect](https://www.internhack.in/roadmaps/tracks/cybersecurity/federation-sso)
- [IAM Operations and Privileged Access](https://www.internhack.in/roadmaps/tracks/cybersecurity/iam-operations)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cybersecurity Roadmap](https://www.internhack.in/roadmaps/tracks/cybersecurity)
