secret manager

A service that stores secrets centrally, controls who can read them and records every access.

In more detail

Examples are HashiCorp Vault and the secret services every cloud offers. Programs fetch a secret when they need it instead of keeping it in files, and rotating it in one place updates every reader.

Examples

Vault(POLICY).get("stripe-key", caller="billing") returns a lease and records the read
The course names five properties a secret manager adds over an environment variable: central storage with an owner, a policy per caller, an audit trail, versions for rotation, and short leases.
In Terraform: Examples are HashiCorp Vault and the secret services every cloud offers. A Terraform configuration can read a secret from one at run time instead of keeping it in a file, ideally through an ephemeral resource so it never lands in state.

Related terms

Taught in

References