Skip to content
Hands-on IT IT Drills
Cover: SOPS hands-on

Training material

SOPS hands-on

Encrypted secrets in Git – SOPS, age and Sealed Secrets

Secrets stored safely next to your manifests in Git, day by day on your own cluster with Forgejo – age on its own, sops encrypt, decrypt and edit, file formats and partial encryption, .sops.yaml and creation_rules, team keys and rotation, Shamir with key groups, OpenBao Transit as a key source, exec-env and Git diffs, a pre-commit hook with gitleaks, decryption in Flux and Argo CD with KSOPS, Sealed Secrets with scopes, key backup and recovery, failure patterns, choosing and migrating, a competition on a leaky repo and a final exam.

  • SOPS
  • age
  • Sealed Secrets
  • GitOps
  • Kubernetes
Start the course Free in your browser, no sign-up
Download for free PDF and EPUB · edition 2026

Training plan

  1. Foreword
  2. Day 0: The Training Ground
  3. Day 1: age on its own
  4. Day 2: sops basics
  5. Day 3: File formats and partial encryption
  6. Day 4: .sops.yaml and creation_rules
  7. Day 5: Team – multiple recipients and rotation
  8. Day 6: Shamir – Key Groups
  9. Day 7: OpenBao Transit as a Key Source
  10. Day 8: sops in Everyday Work
  11. Day 9: Protection Against Plain Text
  12. Day 10: Flux Decrypts
  13. Day 11: Argo CD Decrypts
  14. Day 12: Sealed Secrets – Controller and kubeseal
  15. Day 13: Sealed Secrets – Backing Up, Renewing and Restoring the Key
  16. Day 14: Error Patterns
  17. Day 15: Deciding and Migrating
  18. Day 16: Competition – the Leak in the Repo
  19. Appendix A: Cheat Sheet
  20. Appendix B: Final Exam