Skip to slide
146 / 221

CH 12 · Secrets and Bring-Your-Own-Key · 09/11

Read as one page

Signing secrets and other operator credentials

Not all secrets are user-supplied. Operator secrets like a download-signing secret (Chapter 17) or a session secret must be:

  • strong and random (generate with a proper RNG),
  • held only in the environment / secrets manager,
  • required at startup (fail fast if missing, rather than silently degrading security),
  • and rotated with a plan (rotation invalidates anything signed with the old secret, so think through the impact).

Finished this idea?

Your learning progress stays in this browser.