Lion Cipher Lab

Automate the joiner-mover-leaver identity lifecycle (and understand what SCIM is really doing)

Why it matters

Every organisation has a system that hires people and a process that lets them go, and almost none of them are connected properly. The gap between the two is where orphaned accounts live: the contractor whose VPN login still works six months after the contract ended, the analyst who moved from finance to engineering and quietly kept both sets of permissions. Auditors ask about this in every single engagement, breach reports blame it constantly, and it is one of the few security problems a small script genuinely fixes. Learn the lifecycle on a real identity server you control, and you will…

What you'll learn

Steps in this lab

  1. The problem, from zero: the gap between hiring and leaving
  2. Stand up Keycloak locally with one command
  3. Get an admin token — and understand what you are holding
  4. Build the structure a joiner will land in: realm, groups, roles
  5. JOINER: provision a real account through the API
  6. MOVER: move her team — and watch privilege creep appear
  7. LEAVER: deprovision in the right order, then decide delete vs retain
  8. Wrap all three flows in one script: jml.sh
  9. The standard you just reimplemented: SCIM 2.0
  10. When, why and better: what to automate and what to leave alone
  11. Clean up — and what is left on your machine (nothing)

Open the full interactive lab →