Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Vault

Direct answer

A vault is a dedicated secrets management service, such as HashiCorp Vault, that encrypts secrets, issues dynamic short-lived credentials, enforces policies and logs every access.

When to use this

Use this when using a dedicated secrets management service like HashiCorp Vault.

First 30 seconds

1. HashiCorp Vault: dynamic secrets, PKI, transit encryption, leases.

2. Auto-unseal with KMS/HSM.

3. Least-privilege policies.

4. Audit devices enabled.

5. Protect root tokens (revoke after setup).

Operational verification

client auth method → policy → secret engine → lease

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Unseal keys or root token kept by one person.
  • Root token used for daily work instead of being revoked after setup.
  • Long TTLs on tokens and leases.
  • No backups of the storage backend (Raft snapshots: vault operator raft snapshot save).
Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse this when using a dedicated secrets management service like HashiCorp Vault.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Dynamic secrets are created per request.
  • Policies control access paths.
  • Seal/unseal protects the master key.
Key checks
  • vault status — sealed/unsealed, HA
  • vault audit list — audit devices
  • vault policy list — policies
ReferenceWhy it matters1 section · depth on demand

Vault features

  • Encrypted storage with access policies per path.
  • Authentication methods: Kubernetes, cloud IAM, AppRole, OIDC.
  • Dynamic secrets: database or cloud credentials created on request and revoked after a lease.
  • PKI engine for short-lived certificates; transit engine for encryption as a service.
  • Audit log of every request.

Protect unseal keys (Shamir shares or auto-unseal with KMS/HSM) and run it highly available.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

A vault is a centralised secret store with encryption, access policies, audit logging and APIs — HashiCorp Vault/OpenBao, cloud secret managers, or PAM vaults such as CyberArk. Applications and people retrieve secrets at run time instead of storing them locally.

HashiCorp Vault concepts:

ConceptPurpose
Auth methodsHow clients authenticate (Kubernetes, AppRole, OIDC, cloud IAM)
PoliciesWhich paths each identity can access
Secrets enginesKV, databases (dynamic credentials), PKI, SSH, transit encryption
LeasesAutomatic expiry and revocation
Audit devicesLog every request
vault kv get secret/network/netbox
vault read database/creds/app-readonly      # dynamic credential with lease

Operate the vault as critical infrastructure: HA, backups, sealed-key procedures and strong admin controls.

ReferenceConfiguration & state1 section · depth on demand

Basic commands

vault login -method=oidc
vault kv put secret/app/db password='...'
vault kv get -field=password secret/app/db
vault read database/creds/app-role        # dynamic database credentials

Documented example, not captured output. Use policies per path, short TTLs, and audit devices. OpenBao is the open-source fork after HashiCorp's licence change (2023).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

Authoritative/upstream documentation reviewed for bounded claims in Secrets Management → Vault. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html · confidence 94%
Confirmation

Confirm action

Continue?