How To Secure Your MicroServices
summary
Migrates a monolith to per-service credentials using Vault and Postgres so apps no longer share one connection string; Vault dynamic DB credentials demo creates temporary DB users that auto-expire (demo shows 10 minute TTL and automatic deletion) and logs every request to an audit file. CI (updates roles), Spinnaker (fetches secret IDs) and Terraform (injects role IDs) are used so there are no manual password scripts, and AppRole auth (AppRole with roleID+secretID) is shown working end-to-end.
AI-written summary · about
chapters (9)
- 0:00Introduction to secure microservices
- 1:28Moving from monolith to microservices
- 6:47Introducing HashiCorp Vault
- 8:35Demo dynamic secrets in Vault
- 14:48Secure app integration with Vault
- 23:00AppRole authentication setup
- 29:48Auditing secrets access
- 34:03Achieving security goals
- 36:14Q&A on Vault high availability
