Introduction to HashiCorp Vault - Install, Start, and Explore
Install Vault, start the dev server, explore the Web UI, and write, read, and manage secrets using the CLI and HTTP API.

Lab overview
HashiCorp Vault is an identity-based secrets management platform that centralizes the storage, access, and distribution of sensitive data such as API keys, database credentials, and encryption keys. Rather than scattering secrets across configuration files, environment variables, and application code, Vault provides a single source of truth with fine-grained access control, audit logging, and automatic secret rotation. The Vault dev server offers a zero-configuration way to explore these capabilities locally - it starts unsealed with an in-memory backend, making it the ideal sandbox for learning the CLI, the HTTP API, and the built-in Web UI before moving to production-grade deployments.
In this lab, you will install the Vault binary from the official HashiCorp releases, start the dev server, set the required environment variables, explore the Web UI to browse secrets engines and authentication methods, and use both the CLI and the HTTP API to write, read, list, and delete secrets in the KV version 2 secrets engine.
Objectives
Upon completing this beginner level lab, you will be able to:
- Download and install the Vault binary on a Linux system
- Start the Vault dev server and configure the VAULT_ADDR and VAULT_TOKEN environment variables
- Navigate the Vault Web UI to browse secrets engines and authentication methods
- Write, read, list, and delete secrets using the vault kv CLI commands
- Interact with the Vault HTTP API to perform CRUD operations on secrets
- Explain the difference between the dev server and a production Vault deployment
Who is this lab for?
This lab is designed for:
- Cloud engineers beginning their journey with HashiCorp Vault for secrets management
- DevOps practitioners who want hands-on experience with the Vault CLI and API before integrating it into pipelines
- Vault Associate (003) candidates preparing for exam domains covering Vault architecture and basic operations
Verified against your live environment
An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.
More labs like this
Challenge - Start Vault and Store Your First Secret
Start a Vault dev server, enable the KV v2 secrets engine at a custom path, write a secret with multiple keys, and retrieve it via the API.
Troubleshoot and Debug Terraform Configurations
Fix broken Terraform configurations with validate and fmt, enable debug logging to trace provider errors, resolve apply failures, and use terraform console for expression testing.
Import Existing Infrastructure into Terraform State Management
Use Terraform import blocks and the legacy import command to bring pre-existing Azure resources under Terraform state management.
Related reading
Environment
Every lab includes
- Real environment, pre-credentialed
- Automated checks on every step
- Isolated sandbox, auto cleanup
- AI-recommended next steps
Lab curriculum
- 01
Install Vault and Verify the Binary Installation
1 automated check
- 02
Start the Dev Server and Configure Environment Variables
1 automated check
- 03
Explore the Vault Web UI for Secrets and Auth Methods
1 automated check
- 04
Write, Read, and Manage Secrets with the CLI and API
1 automated check
Skills validated
Not the lab you were looking for?
Browse 200+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.