Lion Cipher Lab

Manage secrets with HashiCorp Vault on your own machine

Why it matters

A cloud secrets manager is the professional home for credentials, but it lives in someone else's service and (for some options) can cost money. HashiCorp Vault is the open-source tool that does the same job on infrastructure you run yourself — it is one of the most widely deployed secrets managers in the industry, so the concepts you learn here are the ones real teams use in production. Running it locally in dev mode lets you see the whole model with zero risk and zero cost: a central encrypted store, access controlled by tokens and policies instead of file permissions, an audit trail, and…

What you'll learn

Steps in this lab

  1. What Vault is, and the job it does
  2. Get Vault and start a dev server
  3. Point your terminal at the dev server
  4. Write and read a secret with the KV engine
  5. Tokens and policies: least privilege for secrets
  6. Dynamic secrets: credentials that generate and expire
  7. Sealing and unsealing: how Vault protects itself at rest
  8. Why running your own Vault is worth the practice

Open the full interactive lab →