Lesson 3 of 3 Identity Management Lifecycle

Identity and Access Management Systems

Identity work at scale depends on systems that store identities, automate the lifecycle and control authentication. This lesson explains the components of IAM systems and how they are protected.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the components of an IAM environment.
  • Explain how IAM automates the lifecycle from authoritative sources.
  • Describe directories and identity integration protocols.
  • Explain how IAM systems themselves are protected.

What IAM systems do

Identity and access management (IAM) systems are the technologies that store identities, authenticate them, manage their access and record what happens. Without them, organisations rely on manual tickets and spreadsheets, which are slow and error-prone. IAM systems make the identity lifecycle consistent, enforce policy and produce the evidence auditors need.

Components of an IAM environment

An IAM environment typically has several components, described below.

Directory services
Authoritative stores of identities and groups, such as Active Directory and LDAP directories, or cloud directories. Applications query them to authenticate users and look up group membership.
Access management
Services that authenticate users and provide single sign-on and MFA, issuing tokens or tickets to applications, including identity providers for federation.
Identity governance and administration IGA
Tools that automate joiner, mover and leaver processes, manage role definitions, run access requests and approvals, and conduct access reviews.
Privileged access management PAM
Tools that vault privileged credentials, grant temporary elevation, broker and record administrative sessions, and rotate passwords.
Customer identity and access management CIAM
Services that manage the identities of customers using an organisation's applications, at large scale and with privacy controls.

Automating the lifecycle

IAM systems connect to authoritative sources, usually the human resources system for employees and a vendor management system for contractors. When HR records a new hire, the IGA tool creates the directory account, assigns role-based groups and provisions application accounts through connectors or standards such as SCIM (System for Cross-domain Identity Management). When HR records a role change or departure, the tool adjusts or removes access across all connected systems.

Automation shortens the time to remove access, applies policy consistently and records every action. Applications that are not connected must still be handled, through tickets or periodic reconciliation, and they are a common source of orphaned accounts.

The following diagram shows a deprovisioning flow driven by the HR system that disables leavers' accounts on time.

Removing the 11-day delay in disabling leavers' accounts. With the HR system as the authoritative source, the termination date triggers automatic disabling of the directory account and connected applications, tickets are raised only for systems that are not connected, and a daily reconciliation catches active accounts without a current HR record.
The scenario is illustrative.

Protecting the IAM system

Because IAM systems control access to everything, they are among the most valuable targets for attackers. A compromised directory or identity provider can give an attacker every account. Protection includes tiered administration (separate, highly protected accounts for directory administration), phishing-resistant MFA for administrators, privileged access workstations, monitoring of changes to privileged groups and identity configuration, rapid patching, secure backup of directory data and tested recovery, and protection of token-signing keys, ideally in hardware security modules. The following table summarises key IAM components and their main security concern.

ComponentMain security concern
DirectoryPrivileged group changes; credential theft attacks
Identity providerToken-signing key protection; MFA bypass
IGAIncorrect role definitions; unconnected applications
PAMVault compromise; break-glass account control
Select all that apply

Protecting IAM

Exam skills 2.3.6

Identify controls that protect the IAM system itself.

Log in to try this activity Interactive activities are free with an account.

Directories and identity protocols

Most IAM environments rest on a directory, a hierarchical database of identities, groups, devices and their attributes. The Lightweight Directory Access Protocol (LDAP) is the standard way for applications to query and update directories; it runs on TCP 389 and should be protected with TLS (StartTLS or LDAPS on 636), because simple LDAP binds otherwise send passwords in cleartext. Active Directory combines a directory with Kerberos authentication, Group Policy and DNS, and remains the core of many organisations' identity estate, often synchronised with a cloud identity service.

Applications integrate with IAM in increasingly standard ways: SAML and OpenID Connect for sign-in, OAuth 2.0 for delegated API access, and SCIM for provisioning accounts automatically. Applications that support these standards can be brought under central control quickly; applications with their own isolated user stores create separate passwords, manual provisioning and orphaned accounts, so their number should be reduced over time. Directory design also matters for security: organisational units and groups that mirror roles make delegation and access reviews simpler, and highly privileged groups are kept small and monitored.

Match the pairs

Identity protocols

Exam skills 2.3.6

Match each protocol or system with its role.

Log in to try this activity Interactive activities are free with an account.
Worked example

Speeding up leavers

An audit finds that leavers' accounts are disabled an average of 11 days after departure, because managers raise tickets late. What IAM improvement addresses this?

Connect the IAM system to the HR system as the authoritative source, so that the termination date recorded by HR triggers automatic disabling of the directory account and connected applications, with tickets generated only for systems that are not connected. A daily reconciliation report of active accounts without a current HR record catches exceptions.

Worked example

Protecting the identity provider

An organisation's SSO identity provider signs tokens for 300 applications. Its signing key is stored in a file on the server. Why is this a concern?

Anyone who steals the token-signing key can forge tokens for any user, including administrators, for all 300 applications, without needing passwords or MFA. The key should be stored in a hardware security module or managed key service, access to the identity provider's servers restricted to a small group of protected administrators, and certificate and key changes monitored.

Check yourself

What does SCIM provide in an IAM environment?

Show answer

A standard way to provision and de-provision user accounts automatically in connected applications, so that changes in the IAM system reach them without manual work.

Exam Tips

Remember for the exam

  • IAM automates joiner, mover and leaver processes from the HR system.
  • PAM vaults, elevates temporarily and records privileged sessions.
  • Protect the directory and identity provider as critical assets.