Secret Manager: Create, Version, and Read Secrets
Beginner · 30 minutes · 5 tasks, checked automatically · 100 points
In this foundational lab you will learn how to manage sensitive configuration data using GCP Secret Manager running on your local emulator. You will create a secret, add a secret version containing a payload, retrieve the active version, and verify the stored value — all without touching a real cloud account. Secret Manager is a core IAM-adjacent service used to store API keys, passwords, and certificates securely.
What you’ll learn
- Create a Secret Manager secret using the gcloud CLI against the local emulator
- Add a versioned secret payload and understand how versions work
- Read and verify the active secret version value from the emulator
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: GCP
- Services: Secret Manager
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A GCP sandbox created in the Local Cloud Playground
Topics: secret-manager, iam, security, gcp, emulator, secrets, versioning
Create a free account to start this lab.