HashiCorp Vault
HashiCorp's secret manager, which stores passwords and keys centrally and can hand out short-lived credentials on request.
In more detail
Vault is a separate product from Terraform but made by the same company, now owned by IBM. Terraform configurations often read secrets from Vault instead of keeping them in variable files. Values read this way still end up in state unless you use ephemeral values.
Related terms
- secret manager — A service that stores secrets centrally, controls who can read them and records every access.
- HashiCorp — The software company that created Terraform, Vault and other infrastructure tools, and which IBM now owns.
- ephemeral values — Values, added in Terraform 1.10, that exist only during a run and are never written to state or plan files.
- short-lived credentials — Credentials issued for one job or session that expire within minutes or hours, instead of long-lived keys stored as secrets.
Taught in
- The Licence, OpenTofu And IBM — Infrastructure as Code with Terraform
- Security: Secrets In State And Ephemeral Values — Infrastructure as Code with Terraform
- Custom Conditions: Validation, Pre And Postconditions, Checks — HashiCorp Terraform Associate (004) Exam Prep
- Sensitive Data, Ephemeral Values And Secrets From Vault — HashiCorp Terraform Associate (004) Exam Prep