Hashicorp Vault
Hashicorp's solution to managing Secrets and Protecting Sensitive Data
What is Vault?
Vault is a solution developed by Hashicorp that enables the storage and lifecycle of secrets (i.e., user/pass, API keys, certificates, encryption keys, etc.)
Installation
brew install vaultVault Cheat Sheet
Vault Configuration Commands
# View vault configuration (stored on whichever server Vault is installed on). This file path can be different!
cat /etc/vault.d/vault.hcl
# Validate/troubleshoot configuration file. Point it to your configuration file path
vault operator diagnose -config=/etc/vault.d/vault.hcl
# Initialize Vault for the first time (modify as needed)
vault operator init \
-key-shares=3 \
-key-threshold=2Vault Operations
Vault Dev Mode
Vault Secrets
Vault Auth Methods
Vault Policies
Vault Tokens
Useful Resources
Last updated
Was this helpful?