Security Architecture — Threats, Identity & Keys
Learning Hub / Architecture & System Design

Security Architecture — Threats, Identity & Keys

Senior → Principal6 lessonsComing soon

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.

You'll meetthreat modellingSTRIDEtrust boundaryOAuthOIDCworkload identitySPIFFERBACABACReBACZanzibarKMSenvelope encryptionSLSAzero trust

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

  1. 01
    Threat modellingData-flow diagrams, trust boundaries, STRIDE, attack trees, ranking risk
  2. 02
    Authentication architectureOAuth 2.x and OIDC flows, token design and lifetime, workload identity, SPIFFE
  3. 03
    Authorisation architectureRBAC, ABAC, ReBAC and Zanzibar, policy engines, the decision point on the hot path

Protect and respond

  1. 04
    Keys, secrets and cryptographyKMS, envelope encryption, rotation, customer-managed keys, crypto-shredding
  2. 05
    Software supply chainSLSA, provenance, signing, admission verification
  3. 06
    Zero 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.

A revoked user kept access for 15 minutes

Which token design made revocation slow, and what would bound it?

One leaked CI token reached production

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.