Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Secure Your Secrets in GitOps
Search
Rosemary Wang
May 19, 2022
Programming
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Secure Your Secrets in GitOps
Learn how to inject secrets into your applications with Flux, a GitOps tool on Kubernetes.
Rosemary Wang
May 19, 2022
More Decks by Rosemary Wang
See All by Rosemary Wang
From Platform Engineering to AI Automation: Building Infrastructure for Agent Systems
joatmon08
0
66
Context Engineering 101: A Practical Introduction
joatmon08
1
53
Build for massive scale & security with the HashiCorp Cloud Platform
joatmon08
0
96
People, process, and technology for ILM and SLM adoption
joatmon08
0
82
Secure Day 2 operations with Boundary and Vault
joatmon08
0
90
Can You Test Your Infrastructure as Code?
joatmon08
1
130
Multi-Account, Multi-Region, Multi-Runtime
joatmon08
1
100
Building a multi-account, multi-runtime service-oriented architecture
joatmon08
0
99
Choose Your Own Abstraction: Iterating on Developer Experience
joatmon08
0
140
Other Decks in Programming
See All in Programming
RTSPクライアントを自作してみた話
simotin13
0
610
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
180
Creating Composable Callables in Contemporary C++
rollbear
0
140
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
160
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
120
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.7k
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.6k
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
140
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
250
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
790
dRuby over BLE
makicamel
2
340
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
140
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
490
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
My Coaching Mixtape
mlcsv
0
150
Test your architecture with Archunit
thirion
1
2.3k
So, you think you're a good person
axbom
PRO
2
2.1k
Tell your own story through comics
letsgokoyo
1
950
Product Roadmaps are Hard
iamctodd
PRO
55
12k
30 Presentation Tips
portentint
PRO
1
330
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
410
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
240
Transcript
Copyright © 2022 HashiCorp Secure Your Secrets in GitOps May
19, 2021 Rosemary Wang Developer Advocate at HashiCorp she/her @joatmon08 1
Works, but not ideal. Use SOPS to encrypt and store
in version control. 1 2 3 fluxcd.io/docs/guides/mozilla-sops/#encrypting-secrets-using-hashicorp-vault SOPS 2. Commit encrypted secret to version control. 1. Use encryption key from Vault to encrypt secret. 2
What happens when you accidentally commit a plaintext secret? 3
1. Regret 2. Revoke 3. Rotate 4. Reference 5. Replace
6. Re-run Plan R AKA Remediation 4
Is there a better way? 5
Kubernetes Secret Plaintext 😨 Needs role-based access controls 🤔 Secrets
Manager Securely stores secrets (Some) Rotate secrets for you Audits access Securing Secrets Credentials, Tokens, Keys, Certificates 6
Secrets Manager + Kubernetes Use file-based secrets injection with Secrets
Store CSI Driver. 1 2 3 secrets-store-csi-driver.sigs.k8s.io/ vaultproject.io/docs/platform/k8s/csi @joatmon08 7
If you still need Kubernetes secrets… Sync as Kubernetes Secret
with Secrets Store CSI Driver. 1 2 3 8
github.com/ joatmon08/ hashicorp-vault-flux 9
1. hashicorp.com/blog/manage-kubernetes-secrets- for-flux-with-hashicorp-vault 2. fluxcd.io/docs/guides/mozilla-sops/#encrypting-s ecrets-using-hashicorp-vault 3. secrets-store-csi-driver.sigs.k8s.io/ 4. vaultproject.io/docs/platform/k8s/csi
5. vaultproject.io/docs/platform/k8s/injector Resources 10
Copyright © 2022 HashiCorp Thank you! May 19, 2021 Rosemary
Wang @joatmon08 joatmon08.github.io 11