Security Patterns for Microservice Architectures
summary
Lists 11 patterns for securing microservices and gives concrete fixes: use OAuth2/OpenID Connect with client‑credentials for server‑to‑server, prefer Certbot/Let’s Encrypt for TLS (Let’s Encrypt has issued ~1 billion certs), scan deps with Dependabot and Snyk/JFrog X‑Ray, avoid JWT as session tokens (Paseto suggested), store secrets in HashiCorp Vault or AWS KMS, run ZAP in CI, enable Docker rootless, Kubernetes RBAC + Istio service mesh, rate limiting and adaptive MFA.
AI-written summary · about
chapters (36)
- 0:00Intro
- 1:41Why Microservices?
- 2:51Matt to the Rescue!
- 3:19Be Secure by Design
- 3:52Remove Malicious Characters
- 4:57What About OWASP?
- 6:01Secure by Design Example
- 8:35Scan Dependencies
- 9:35The Application Patching Manifesto
- 10:12GitHub and Dependabot
- 11:49Use HTTPS Everywhere
- 13:14HTTPS for Static Sites too!
- 14:15TLS Certificates
- 14:32Get Free Certificates from Let's Encrypt
- 15:13Use Certbot
- 17:28Secure RSocket Endpoints
- 18:55Use Access and Identity Tokens
- 20:09Secure Server-to-Server Communication
- 20:36Authorization Servers: Many to One
- 24:10Encrypt and Protect Secrets
- 25:09HashiCorp Vault and Azure Key Vault
- 25:23Secure Secrets With Spring Cloud Config and Vault
- 25:39Amazon Key Management Service (KMS)
- 26:19Verify Security with Delivery Pipelines
- 27:23Hacking Docker Recommendations
- 27:56What About the Code?
- 28:53Slow Down Attackers
- 29:46Use Docker Rootless Mode
- 30:26Use Time-Based Security
- 31:20Sidenote: Randall's Thoughts on MFA
- 32:16Scan Docker and K8s Configurations
- 33:27Top 5 Docker Vulnerabilities
- 33:52Know Your Cloud and Cluster Security
- 34:2511 Ways (Not) to Get Hacked
- 35:10Run a Service Mesh
- 36:26Excellent Security Patterns for Microservice Architectures
related talks
38mTop 10 Security Best Practices to secure your Microservices
51mAppSec and Microservices
01h 02mPractical Microservice Security
01h 02mLock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra
49mPractical Microservice Security
57mHow Do I Secure My Micro-Services?
53mSecurity And Microservices
51mInsecure Transit - Microservice
