Lion Cipher Lab

Create a read-only assessor service account in your OWN Google Cloud project and impersonate it with no key (GCP assessment 1 of 5)

Why it matters

Before you assess a cloud project you need an identity to do it with, and the choice matters. If you assess as your own owner account, one mistyped command can change or delete things, and the logs cannot tell your assessment from your daily work. A dedicated read-only service account fixes both. Google's documentation recommends short-lived credentials from impersonation over long-lived keys, because they expire within hours and leave no file behind. Professional assessors ask a client for exactly this, so building it once on your own project is practice for the real request.

What you'll learn

Steps in this lab

  1. The rule first: your project, a separate identity, nothing else
  2. Choose the roles: Security Reviewer and Cloud Asset Viewer
  3. Create the service account, with no key
  4. Let only you impersonate it
  5. Run as the assessor, then prove what it cannot do
  6. What the defender sees, and how to tear it down

Open the full interactive lab →

Keep learning