Skip to main content
Secrets Engines are the heart of HashiCorp Vault, providing dynamic secrets, encryption, identity management, and more. In this guide, we’ll explore how to enable, configure, and manage Vault’s Secrets Engines—both generic and cloud-integrated—using the Vault CLI, API, and UI.
  • What are Vault Secrets Engines?
  • Generic vs. Cloud-Integrated Engines
  • Enabling Engines with CLI
  • Enabling Engines via UI
  • Next Steps

What Are Secrets Engines?

Vault Secrets Engines enable integration with external platforms and back-end systems by generating dynamic secrets, certificates, encryption, and identity data. While Vault supports a wide range of cloud providers and services, this tutorial focuses on the core generic engines tested in the HashiCorp Certified Vault Operations Professional exam.
The image lists various "Available Secrets Engines" related to Vault, including services like AWS, Google Cloud, and MongoDB Atlas. It also features a Vault certification badge and a cartoon character.

Generic Secrets Engines

Vault’s generic Secrets Engines do not require deep expertise in external platforms. These are commonly used across environments and covered in Vault certification:
The image is a slide about "Generic Secrets Engines," detailing features like database support, Key/Value versions, PKI certificates, and data encryption with Transit. It includes a Vault certification badge and a cartoon character.

Enabling Secrets Engines

Engines can be enabled at a custom mount path using the Vault CLI, API, or UI. The UI offers a simple way to enable common engines, but some advanced configurations require CLI or API.
The image is a slide about enabling secrets engines, detailing default settings, enabling methods, and path configurations. It includes a Vault certification badge and a cartoon character illustration.
Use meaningful mount paths (e.g., prod-db/ or teams/cloud-kv/) to simplify management and auditing.

Enable with Vault CLI

The vault secrets command suite manages engine lifecycle:
  • enable: Mount a new engine
  • disable: Unmount an engine
  • list: View enabled engines
  • move: Rename or relocate a mount path
  • tune: Adjust engine settings (TTLs, descriptions)

Sample Output

Ensure your Vault token has the root policy or appropriate sys/mount and sys/cap capabilities to enable and configure Secrets Engines.

Enabling Engines via UI

  1. Open the Vault UI and navigate to the Secrets tab.
  2. Click Enable New Secrets Engine.
  3. Select an engine type, configure the mount path and options, then click Save.
  4. For engines not fully supported in the UI, switch to the CLI or API for advanced settings.
The image is a screenshot of a user interface for enabling secrets engines, showing a list of already enabled engines and an option to add more. It includes annotations and a cartoon character in the bottom right corner.

Next Steps

Now that you’ve learned how to enable and manage Vault Secrets Engines, the next sections will dive deeper into configuring each engine:
  1. Key/Value (KV) Secrets Engine
  2. Database Secrets Engine
  3. Public Key Infrastructure (PKI)
  4. Transit Secrets Engine
  5. Identity and Cubbyhole Engines
Stay tuned to master dynamic secrets, encryption, and certificate automation in HashiCorp Vault.

Watch Video