Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

Privileged access management

Some accounts can change how a system works, who may use it, or everything in it, and those accounts need more care than any other. This lesson follows Cedar Inc. after an account takeover, as its security team lists every kind of privilege it has and brings each one under control: just-in-time roles, approval and dual control, vaulted passwords, brokered and recorded sessions, and a way back in when everything else fails.

Where privilege lives

Cedar Inc., the company whose staff the SAML lessons signed in, had a bad morning this spring: an attacker phished the sign-in of Riley, a member of its finance team, and used the account for several hours before anyone noticed. Afterwards Quinn, who works on Cedar's security team, made a list of every way someone could control Cedar's systems rather than merely use them. They expected a page of administrator names. They got four kinds of entry.

There were people with administrator roles in the identity provider, the cloud platform and the finance system. There were built-in accounts that every system ships with and nobody can delete: root on each Linux server, the local Administrator on each Windows laptop, the database's own superuser. There were help desk staff who can reset other people's sign-in methods, which is administration by another name. And there were service accounts, software that holds broad rights so that backups and deployments can run at night.

Privileged access management, or PAM, is the practice of controlling all of these: who may hold privilege, when it is active, how the credentials behind it are kept, and what is recorded while it is used. The term also names a category of products that do some of this work, but the practice comes first. Temporary, privileged, and emergency access covered time-bound grants, separate administrator accounts and emergency access as governance decisions. This lesson puts those pieces together for Cedar and adds the ones that lesson left out: dual control, vaulted credentials, and brokered, recorded sessions. Protecting privileged access, in Identity security, later looks at the same controls as defenses against an attacker.

Standing and just-in-time privilege

Standing privilege is a role that is active all the time, whether or not anyone is using it. Cedar's list showed fourteen people with standing administrator roles in the identity provider, of whom three had used them in the last month. Each of the other eleven was a stolen session away from handing an attacker full control.

Just-in-time elevation replaces standing roles with eligibility. Jun, a database administrator, is eligible for the finance database's administrator role but does not hold it. When she needs it, she asks, gives a reason, and receives it for a fixed time, after which it ends by itself. The same idea works for cloud platforms, where an engineer assumes a role and receives credentials that expire within an hour, so that nothing usable is left lying in a terminal history afterwards.

Elevation goes to a separate administrator account, used only for administration and signed in with a phishing-resistant method, as the governance lesson described. Elevating the account that also reads email would bring every phishing message to the account with the most power.

Approval and dual control

Who approves an elevation decides whether it means anything. Jun's request names change ticket CHG-4471, which her team lead approved the day before, so the elevation can be granted automatically inside the change window and refused outside it. An urgent request at night goes to whoever is on call, and the tool refuses to let anyone approve their own request.

For the most dangerous actions, one approval is not enough. Dual control requires two people to take part: one to request and one to approve, or two to act together. Cedar applies it to changes to the identity provider's sign-in policy, to adding an administrator, and to exporting the payroll table. It slows those actions down by minutes, which is the point: an attacker with one administrator's session cannot complete them alone.

Approvals that are always granted stop meaning anything. If Jun's lead approves forty requests a day without reading them, the step is a delay, not a control, and the reviews of what happened afterwards matter more than the approval did.

Vaulting shared accounts

The built-in accounts are harder. root cannot be given to one person or switched off, and for years Cedar's Linux team shared one root password across forty servers, kept in a spreadsheet. Everyone who had ever been on the team knew it, including people who had left.

A credential vault takes these passwords out of people's heads. The vault holds the current password for each account, a different one on every server, and changes them itself on a schedule. When Jun needs root on db-07, she checks the password out with a reason; the vault records who took it and when, and changes it again once she checks it back in or her time runs out. Windows estates often do the same for each laptop's local Administrator password, so that a password stolen from one machine does not open the next. Shared passwords become individual, short-lived and attributable, without changing the systems that use them.

Brokered and recorded sessions

A vault that shows passwords to people still lets them copy one. A session broker goes further: Jun connects to the broker, signed in as herself, and asks for a session on db-07. The broker fetches the credential from the vault and opens the connection itself, so Jun works on the server without ever seeing the password. The broker is also the only place from which administrative connections to servers are allowed, so a stolen password would not work from anywhere else.

One elevation from request to review: the role is time-bound, the credential stays in the vault, and the broker records the session.

Because every privileged session passes through it, the broker can record what happens: the commands typed, the queries run, or a video of a remote desktop. It can block commands that should never be typed, such as dropping a production table outside a change, and it lets a second person watch a sensitive session live and end it. Recordings answer the questions an audit log cannot, such as what an administrator looked at, not only what they changed.

Recordings are also sensitive. They capture whatever was on screen, including customers' data, so they need their own access controls, a retention period and a reason to be opened. The people being recorded should know it, and should not be the people who review the recordings.

Break-glass and the last administrator

All of this depends on working systems. If the identity provider is down, nobody can sign in to the broker, and nobody can elevate. That is what break-glass accounts are for: two accounts that work when everything else has failed, with long random passwords or security keys kept in sealed envelopes or a safe, excluded from the sign-in rules that could lock them out, and set to raise an alert the moment either is used. Like the emergency administrator accounts in Temporary, privileged, and emergency access, they are tested regularly, given new credentials after every use and test, and every use is reviewed by someone else.

The same thinking protects against losing control without any outage. If the last person who can manage roles removes their own role, or two administrators remove each other at the same moment, nobody is left who can fix it. A service should refuse the change that would leave no administrator, checking at the moment of the change rather than trusting what an earlier page showed, and it should count only accounts that the organization can actually reach and control: an administrator account belonging to an outside partner, or one nobody at Cedar can sign in to, does not keep Cedar in control. Never losing the last administrator returns to this check later.

Putting it in order

Few organizations can do all of this at once, and the order matters. Cedar started with the list, because privilege nobody knows about cannot be controlled. It then removed standing roles from the eleven people who never used them, put the shared passwords in a vault, and gave the remaining administrators separate accounts with security keys. Brokered sessions came last, for the servers and databases where a full record of each session was worth the cost.

Cedar Inc.'s privileged access, before and after
Kind of privilegeBeforeAfter
Identity provider administrators14 standing roles3 eligible people, 2 hours per elevation, dual control for policy changes
Server root accountsOne shared password in a spreadsheetA different vaulted password per server, rotated after each use
Finance database administrationDirect connections from engineers' laptopsBrokered, recorded sessions inside approved change windows
Help desk method resetsAny agent, any accountOrdinary staff only; administrator resets need a second person
Emergency accessOne old account nobody had testedTwo break-glass accounts, alerting on use, tested every quarter

Service accounts, the fourth kind on Quinn's list, are missing from the table. Software holds its privilege through secrets, and keeping those is a job of its own.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

Jun opens a session on db-07 through the session broker, which fetches the root credential from the vault. What does Jun see of that credential? 1 of 3

Choose one answer.

Fourteen people hold the identity provider's administrator role all the time, and three have used it this month. Why does that matter if all fourteen are trusted? 2 of 3

Choose one answer.

An attacker has stolen one Cedar administrator's session and tries to change the identity provider's sign-in policy. Cedar applies dual control to that change. What stops it? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity