~/talk

A Token Of Respect: Implementing Microservice Identity And Access Management In Go

Talkat GoCon Canada 2019 · on Friday, 2019-05-31· [microservices, security, go]
slides:none on file

Implements role-based access control by bundling a compact permission bitset into a JSON Web Token issued by an identity service and enforced by downstream Go microservices. Uses uint64 bitflags with iota, custom big-endian marshaling, and asymmetric JWT signing so tokens carry subject ID plus aggregated role permissions. Runs in production at Manifold for ~1.5 years, keeps headers tiny (one-week token lifetime), and reveals the surprising 64-permission limit early because the compiler fails when a 65th bit is added.

AI-written summary · about

  1. 0:00Intro
  2. 1:17System Evolution
  3. 4:44Access Control Model
  4. 6:36RoleBased Access Control
  5. 9:00Simplicity
  6. 12:34Implementation
  7. 14:38Tokenization
  8. 17:23Features
  9. 22:15Manipulation
  10. 24:30Single Operations
  11. 25:08User Interface
  12. 26:49Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.