Skip to content

HashiCorp Vault training environment using GitHub Codespaces. Includes pre-configured Vault server in dev mode and hands-on labs covering essential features: authentication, secrets engines, encryption, policies, and tokens. Perfect for learning Vault without complex infrastructure setup.

License

Notifications You must be signed in to change notification settings

btkrausen/vault-codespaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support My Content Here:

Udemy Github Sponsor

HashiCorp Vault Labs

Bryan Krausen - badge-generator

Welcome to this HashiCorp Vault lab repo, where you can get hands-on experience with HashiCorp Vault using GitHub Codespaces. In this repository, you’ll find a variety of labs that walk you through using HashiCorp Vault in different scenarios.

Note: GitHub provides users with 120 core hours for FREE per month. Check your current consumption of hours here. Additionally, you can set a limit of spending for Codespaces on your account here.

What’s Included

  • A pre-configured development container that installs and runs Vault in your Codespace.
  • Multiple labs, each with its own README.md and step-by-step instructions.
  • Example files, scripts, and configurations to help you practice Vault’s core features.

Built with:

vault Codespaces

How to Use

  1. Create a Codespace from this repo (click the button below or go to the “Code” drop-down, select “Codespaces,” and create a new one).
  2. Once the Codespace is running, open the integrated terminal.
  3. Follow the instructions in each lab to complete the exercises.

Open in GitHub Codespaces

Labs Overview

Below are a few example labs you can explore. Each link points to a specific lab file or folder within this repository.

HashiCorp Vault Basics 💻

Lab Description Codespace Link
Install Vault Install Vault from Scratch and Start the Service Launch Lab
Intro to Vault Learn basic Vault commands. Launch Lab
Using the Vault UI Configure and Manage Vault using the UI Launch Lab
Using the Vault CLI Practice mananaging Vault using the CLI Launch Lab
Initialize and Unseal Learn how to initialize and unseal Vault Launch Lab

Vault Authentication 🪪

Lab Description Codespace Link
Vault Tokens Learn the basics of using Vault tokens to authenticate. Launch Lab
Vault Response Wrapping Use Response Wrapping to protect secrets Launch Lab
AppRole Auth Method Enable, configure, and use the AppRole Auth Method Launch Lab
Userpass Auth Method Configure the Userpass Auth Method Launch Lab
Kubernetes Auth Method Learn how to enable and configure the k8s auth method Launch Lab

Vault Secrets Engines 🔑

Lab Description Codespace Link
Key/Value Secrets Engine Create, read, update, and delete secrets in Vault. Launch Lab
Transit Secrets Engine Learn how to encrypt data using HashiCorp Vault Launch Lab
PKI Secrets Engine Use Vault as a Certificate Authority and generate certs Launch Lab

Vault Management and Operations ⛭

Lab Description Codespace Link
Vault Policies Create and assign policies to restrict access. Launch Lab
Vault Audit Devices Enable and configure an audit device. Launch Lab
Integrate Vault w/ Terraform Learn how to query Vault when using Terraform Launch Lab

Contributing

If you’d like to add more labs or improve these, feel free to fork this repo or open a pull request. Feedback and contributions are always welcome!


Enjoy your journey with Vault!

About

HashiCorp Vault training environment using GitHub Codespaces. Includes pre-configured Vault server in dev mode and hands-on labs covering essential features: authentication, secrets engines, encryption, policies, and tokens. Perfect for learning Vault without complex infrastructure setup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published