# Privileged Access Management (PAM)

> Guarding admin accounts. Access is lent for a short time, watched and taken back.

**Field:** Software Development  
**Category:** Auth  
**Also known as:** PAM, Privileged Account Management, Just-in-Time Access

## Think of it like

Think of it like the key to the school safe. You sign it out, use it while someone watches, and give it back.

## Definition

Privileged access management guards the accounts that can change everything, like admin and root logins. Their passwords sit in a locked vault, not in people's heads or notes. Staff ask for access when they need it, and it ends after a set time. Each admin session can be recorded, so it can be checked later. The vault also changes the passwords often, so an old one is useless.

## Example

Lucy needs root on a database server for one fix. She asks in the PAM tool and gets 30 minutes, and her session is recorded. The password changes when she is done.

## Why it matters

Attackers hunt for admin logins, because one login can open it all. The fewer admin rights people keep, the less a thief can take.

## Common mistake

Giving admins their rights forever and calling it PAM. The point is that the power is lent, not owned.

## Three principles

- **A vault.** Admin passwords are locked away.
- **Just in time.** Access is lent and runs out.
- **Watched.** Admin sessions are logged and recorded.

## Related terms

- [Principle of Least Privilege](https://learn.benibix.com/term/development/principle-of-least-privilege)
- [Role-Based Access Control (RBAC)](https://learn.benibix.com/term/development/role-based-access-control)
- [Secrets Management](https://learn.benibix.com/term/development/secrets-management)
- [Multi-Factor Authentication (MFA)](https://learn.benibix.com/term/development/multi-factor-authentication)
- [Jump Host](https://learn.benibix.com/term/infrastructure/jump-host)

## Told apart from

- [Privileged Access Management vs RBAC](https://learn.benibix.com/compare/privileged-access-management-vs-rbac): People think giving someone the admin role is the same as managing admin access, and it is not. RBAC decides which rights a role has. PAM decides when those rights are used, for how long, and who watches. With RBAC alone, an admin is an admin all day. With PAM, the power is lent for one job and then taken back.

![Lucy, who needs root for one fix, sends an arrow marked asks for 30 minutes to a PAM vault, lit up, where the root password stays locked. A second arrow marked opens a session runs from the vault to a database server. A dashed line drops from that session to a box saying session recorded. Another drops from the vault to a box saying after 30 minutes, access ends and the password changes.](https://learn.benibix.com/diagrams/dev-pam.svg)

---

Source: https://learn.benibix.com/term/development/privileged-access-management
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
