Skip to content
Opsfolk

Infrastructure as code, topic 53 of 78

Secrets management

Infrastructure and pipelines need passwords, API keys and certificates, and none of them belong in Git. A secrets manager stores them encrypted, controls who reads them and records each read: HashiCorp Vault, or a cloud's own such as AWS Secrets Manager.

When secrets must live beside the code, SOPS encrypts them in the file, and Sealed Secrets does it for Kubernetes. Rotate them, and assume a secret that reached a log is leaked.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress