Security Architecture — Threats, Identity & Keys
Threat modelling with data-flow diagrams, trust boundaries and STRIDE; authentication architecture with OAuth 2.x, OIDC, token design and workload identity; authorisation models from RBAC to ReBAC and where the decision point sits; keys and secrets with envelope encryption and rotation; software supply chain integrity; and zero trust, detection and response.
What you'll be able to do
- Threat-model a design and rank the risks
- Design authentication and token lifetimes for people and workloads
- Choose an authorisation model and place the decision point
- Design key management, rotation and crypto-shredding
- Secure the build-to-deploy chain and plan detection and response
Before you start
Several years running production systems. Kubernetes, Linux networking, TLS and one cloud provider are assumed; basics link to the right course on this site instead of being re-taught.
How it works
Each lesson: forces → first principles → design space → failure modes with a published incident → lab where a laptop allows → the architect's lens → a design review with a Senior / Staff / Principal rubric. Each section ends with a cheat sheet & self-check.
Curriculum
Lessons are added and published progressively.
Model and identity
- 01Threat modellingData-flow diagrams, trust boundaries, STRIDE, attack trees, ranking risk
- 02Authentication architectureOAuth 2.x and OIDC flows, token design and lifetime, workload identity, SPIFFE
- 03Authorisation architectureRBAC, ABAC, ReBAC and Zanzibar, policy engines, the decision point on the hot path
Protect and respond
- 04Keys, secrets and cryptographyKMS, envelope encryption, rotation, customer-managed keys, crypto-shredding
- 05Software supply chainSLSA, provenance, signing, admission verification
- 06Zero trust, detection and responseLateral movement, the blast radius of a credential, audit design
Real-world scenarios
Work through each one: symptom → misleading signal → evidence → root cause → prevention.
Which token design made revocation slow, and what would bound it?
Where were the trust boundaries, and which one was missing?
This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.