Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
1
110
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
Tweet
Share
More Decks by Rosemary Wang
See All by Rosemary Wang
Build for massive scale & security with the HashiCorp Cloud Platform
joatmon08
0
68
People, process, and technology for ILM and SLM adoption
joatmon08
0
53
Secure Day 2 operations with Boundary and Vault
joatmon08
0
68
Can You Test Your Infrastructure as Code?
joatmon08
1
100
Multi-Account, Multi-Region, Multi-Runtime
joatmon08
1
62
Building a multi-account, multi-runtime service-oriented architecture
joatmon08
0
76
Choose Your Own Abstraction: Iterating on Developer Experience
joatmon08
0
95
Break Glass, Repair Fast, Reconcile Automation
joatmon08
1
74
Building a Developer Platform? Ask these questions.
joatmon08
0
84
Other Decks in Programming
See All in Programming
GISエンジニアから見たLINKSデータ
nokonoko1203
0
180
Go コードベースの構成と AI コンテキスト定義
andpad
0
140
ゲームの物理 剛体編
fadis
0
380
Implementation Patterns
denyspoltorak
0
120
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
170
TestingOsaka6_Ozono
o3
0
180
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
310
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
450
Deno Tunnel を使ってみた話
kamekyame
0
250
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
8
3.4k
Vibe codingでおすすめの言語と開発手法
uyuki234
0
130
SwiftUIで本格音ゲー実装してみた
hypebeans
0
500
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
170
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Deep Space Network (abreviated)
tonyrice
0
22
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
190
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
680
30 Presentation Tips
portentint
PRO
1
180
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
230
4 Signs Your Business is Dying
shpigford
186
22k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
74
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