Free tech learning for everyone, from basics to pro

IAMCloud SecurityBeginner

Identity and access management: identities, authentication, authorisation and lifecycle

In short: Identity and access management decides who or what can reach a resource and what they can do there. It rests on proving identity (authentication), granting permissions (authorisation) and keeping a record. Most real-world failures come from the lifecycle: accounts that were never removed or permissions that only ever grew.

What IAM is for

Identity and access management (IAM) is the set of processes and tools that answer two questions for every request: who is this? and are they allowed to do this? In the cloud, where there is no office wall around your servers, IAM is effectively the main perimeter. A stolen password with broad permissions can do more damage than an open firewall port.

An identity is a digital representation of something that needs access. That can be a person (an employee, a contractor, a customer), a device (a laptop, a sensor) or a workload (an application, a script, a virtual machine). Identities usually live in a directory or identity provider (IdP), such as Microsoft Entra ID, Okta, Google Cloud Identity or an on-premises Active Directory.

From identity to accessIdentitywho or whatAuthenticationprove itAuthorisationwhat is allowedAccountinglog what happened
Figure 1. Every access request passes through the same chain: an identity proves itself, is checked against permissions, and the result is logged.

Authentication, authorisation and accounting

StepQuestion it answersExamples
Authentication (AuthN)Are you really who you claim to be?Password plus MFA, passkey, certificate
Authorisation (AuthZ)What may you do now that we know you?Roles, policies, group membership, ACLs
Accounting (audit)What did you actually do?Sign-in logs, API audit logs, CloudTrail, Activity Log

People often mix up the first two. Logging in successfully is authentication; being refused when you open the finance share is authorisation. Keeping them separate matters because they fail differently: weak authentication lets the wrong person in, while weak authorisation lets the right person do too much.

Two other terms come up often. Identification is simply claiming an identity (typing a username). A principal is the cloud term for any identity that can be granted permissions, whether a user, group, role or service account.

The identity lifecycle: joiner, mover, leaver

Identity lifecycleJoinercreate and grantMoveradjust accessLeaverdisable and removeReviewconfirm still needed
Figure 2. The joiner, mover, leaver lifecycle, with regular reviews catching access that has drifted.
  • Joiner: a new starter gets an account and the access their role needs, ideally from a template driven by the HR system rather than copied from a colleague.
  • Mover: when someone changes team, new access is added and old access is removed. Forgetting the removal causes privilege creep, where long-serving staff end up with far more access than any single job needs.
  • Leaver: on the last day, accounts are disabled, sessions revoked, devices recovered and shared secrets rotated. Delays here are a classic audit finding.

Automating the lifecycle from an authoritative source (usually HR) through the IdP to each application is called provisioning. Standards such as SCIM (System for Cross-domain Identity Management) let an IdP create and remove accounts in software-as-a-service (SaaS) applications automatically.

Good IAM practice at work

  1. Use one central identity provider and connect applications to it with single sign-on.
  2. Require multi-factor authentication for everyone, and phishing-resistant methods for admins.
  3. Grant access through groups or roles, never directly to individuals.
  4. Apply least privilege and review access regularly.
  5. Keep admin accounts separate from day-to-day accounts.
  6. Send sign-in and audit logs to central storage and alert on unusual activity.

Tip: in exams and interviews, a quick way to show understanding is to classify a control: "MFA is an authentication control; a role assignment is an authorisation control; the audit log is accounting."

Common mistakes include shared accounts that nobody owns, service accounts created by staff who have since left, and test accounts with production rights. Each one breaks the link between an action and a responsible person.

Practice

A user signs in successfully but is denied access to a storage bucket. Which part of IAM denied them?
Authorisation. Authentication succeeded; the permission check failed.
What is privilege creep and which lifecycle stage usually causes it?
The gradual build-up of unneeded access. It usually comes from the mover stage, when new access is added but old access is not removed.
Why is a shared admin account a problem for accounting?
Actions cannot be tied to a single person, so audit logs lose their value and nobody can be held accountable.

Key takeaways

  • IAM answers who you are and what you may do; in the cloud it is the main perimeter.
  • Authentication proves identity; authorisation grants permissions; accounting records actions.
  • Identities include people, devices and workloads.
  • The joiner, mover, leaver lifecycle is where most access problems start.
  • Centralise identity, use groups and roles, enforce MFA and review access.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.