Lion Cipher Lab

Create a read-only assessor identity in your OWN Azure subscription and sign in with a short-lived certificate (Azure assessment 1 of 6)

Why it matters

Before you assess a cloud subscription you need an identity to do it with, and the choice matters. If you assess as your own Owner, one mistyped command can change or delete things, and the logs cannot tell your assessment from your daily work. A dedicated read-only identity fixes both. Professional assessors ask a client for exactly this, usually as 'Reader on the subscription', so building it once on your own subscription is practice for the real request. Azure has a quirk worth learning now: an app registration and a service principal are two different objects, and cleaning up only one…

What you'll learn

Steps in this lab

  1. The rule first: your subscription, a separate identity, nothing else
  2. App registration or service principal? Know which one you are making
  3. Choose the roles: Reader and Security Reader
  4. Create the service principal with no password, and give it Reader
  5. Give it a short-lived certificate
  6. Sign in as the assessor in its own CLI profile
  7. Prove what it can and cannot do
  8. What the defender sees, and how to tear it all down

Open the full interactive lab →

Keep learning