From LUKS to Vault, our journey of secret management
summary
Started with LUKS and GPG on S3 where secrets landed as GPG files decrypted on a developer laptop and pushed into in-memory EC2 volumes via Capistrano; rewrote the auth layer in three days to add HashiCorp Vault with EC2 IAM auth and ran Vault and the legacy secret holder in parallel, migrating secrets 5–6 times to resolve discrepancies. Implementation finishes in a pressured month, delivers IAM-backed tokens, ECS role support, consolidated secrets (no duplication), HTTP audit logs for compliance, and one-day outage traced to missing NTP.
AI-written summary · about
chapters (26)
- 0:00Start
- 0:54About me
- 2:24Encryption
- 2:52VM setup
- 3:11Deploy secrets (1st gen)
- 4:39Can we improve?
- 5:08Deploy secrets (2nd gen)
- 6:13Improvements
- 6:36Problems
- 6:52Shortcoming: Service
- 8:19Shortcoming: Team
- 9:00Shortcoming: Audit
- 9:37Shortcoming: Secret update
- 10:51Shortcoming: Support
- 11:55HashiCorp Vault
- 13:03New design
- 13:59Implementation steps
- 14:37Vault Authentication
- 15:33Roles and secret association
- 15:58Secret holder and vault co-exists
- 16:52Pointers for smoother transition
- 18:54Benefits: Finer control
- 19:33Benefits: Self serve
- 20:35Benefits: Better collaboration
- 21:34Post deployment
- 25:29Takeaways
