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