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
140
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
100
Context Engineering 101: A Practical Introduction
joatmon08
1
74
Build for massive scale & security with the HashiCorp Cloud Platform
joatmon08
0
110
People, process, and technology for ILM and SLM adoption
joatmon08
0
86
Secure Day 2 operations with Boundary and Vault
joatmon08
0
93
Can You Test Your Infrastructure as Code?
joatmon08
1
150
Multi-Account, Multi-Region, Multi-Runtime
joatmon08
1
110
Building a multi-account, multi-runtime service-oriented architecture
joatmon08
0
100
Choose Your Own Abstraction: Iterating on Developer Experience
joatmon08
0
140
Other Decks in Programming
See All in Programming
数百円から始めるRuby電子工作
tarosay
0
130
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
130
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
170
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
140
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
450
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
340
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
140
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
230
テーブルをDELETEした
yuzneri
0
130
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
360
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
820
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
240
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Mobile First: as difficult as doing things right
swwweet
225
10k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
Bash Introduction
62gerente
615
220k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
660
The Cost Of JavaScript in 2023
addyosmani
55
10k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
460
So, you think you're a good person
axbom
PRO
2
2.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Skip the Path - Find Your Career Trail
mkilby
1
180
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
66
57k
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