Glossary

Deprovisioning

Deprovisioning is removing the accounts, access and credentials a person or program no longer needs, in every system they could use.

Deprovisioning means taking away accounts and access that are no longer needed. It is the reverse of provisioning, which gives them. The usual trigger is a leaver, recorded by HR, but a role change, the end of a contract or a retired service account are triggers too. It is also called user deprovisioning or account deprovisioning.

It is more than switching off one login. It removes a person’s access from every system they could use: the account itself, the groups and roles it holds, open sessions, and any tokens or keys that work without a sign-in. Done well, the person can no longer reach anything, and you have a dated record for each system.

Deprovisioning is the access part of offboarding, which also covers pay, equipment and handover. In cloud computing the word is also used for shutting down servers; this page is about access.

Why it matters

A former employee who can still sign in is a security risk. It is also one of the first things an auditor samples: they pick leavers from your HR records and ask when access was removed in each system. A late or missing removal becomes an exception in the report.

What deprovisioning covers

  • The account. Disable or delete it in your identity provider (the system people sign in through, such as Keycloak) and in every app with its own login.
  • Groups and roles. Take the account out of them. A disabled account that still holds an admin role can use it again as soon as someone switches the account on.
  • Sessions and credentials. End open sessions. Revoke API tokens, access keys and SSH keys issued by an app or cloud account: they keep working after the identity provider account is disabled.
  • Shared passwords and owned things. Change shared passwords the person knew. Give their service accounts, scheduled jobs and repositories a new owner, or they become orphaned accounts.

Many teams disable first and delete later, so the account name still matches old logs and tickets. Either way, record what the account held in the leaver ticket before you remove its groups and roles.

What the standards say

For systems in PCI DSS scope, PCI DSS v4.0.1 requirement 8.2.5 says access for terminated users is revoked immediately, and 8.2.6 says inactive user accounts are removed or disabled within 90 days of inactivity.

The SOC 2 trust services criteria ask that credentials are removed when access is no longer authorized (CC6.2), and that access is changed or removed as roles change (CC6.3). ISO/IEC 27001:2022 (sold by ISO), Annex A control 5.18, covers giving, reviewing, changing and removing access rights; the ISO 27001 access control guide explains it. Neither sets a deadline, so the one in your access control policy is the one your auditor tests.

NIST SP 800-53 Rev. 5, control PS-4, asks you to disable access within a time you define when someone leaves, and to revoke their credentials.

Automatic deprovisioning and SCIM

SCIM (System for Cross-domain Identity Management) is a standard that lets an identity provider create, change and remove accounts in other apps. The SCIM protocol, RFC 7644, defines how to delete an account; in practice many identity providers mark the account inactive instead. SCIM only reaches the apps connected to it. Other systems need another route: a script, or a person with a checklist.

An example

This is a made-up example. Sam, a contractor, leaves on 14 March. IT disables Sam in Keycloak that day, which stops new sign-ins through single sign-on. Sam also had an IAM user in AWS with an access key. That key does not depend on Keycloak, so it keeps working until someone deletes it.

What catches the misses

Deprovisioning is an event. A periodic user access review catches what it missed: the contractor nobody offboarded, the role left on a disabled account. The leaver steps in the JML guide list what is easy to miss in Keycloak, GitHub and AWS.

Acciew runs user access reviews of Keycloak, GitHub and AWS. An account that is still there appears on a reviewer’s list. It only reads. Your administrators remove the access.

What is the difference between provisioning and deprovisioning?

Provisioning creates an account and gives it the access a job needs, after approval. Deprovisioning removes that access, and the account, when the need ends. Both should leave a dated record your auditor can sample.

Is deprovisioning the same as offboarding?

No. Offboarding is everything that happens when someone leaves: final pay, returning a laptop, handing over work. Deprovisioning is the access part of it. It also happens without anyone leaving, such as when a person changes role and old access should go.

Should you disable or delete an account when you deprovision it?

Disabling stops the account working and keeps its name for old logs. Deleting removes it for good. Many teams disable first and delete after a set time. Either works if your policy says which and you do it the same way each time.