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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
95
People, process, and technology for ILM and SLM adoption
joatmon08
0
81
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
98
Choose Your Own Abstraction: Iterating on Developer Experience
joatmon08
0
140
Other Decks in Programming
See All in Programming
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.3k
OSもどきOS
arkw
0
560
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
2
680
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
350
Claspは野良GASの夢をみるか
takter00
0
190
Contextとはなにか
chiroruxx
1
320
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
6k
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
200
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
680
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
130
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
140
net-httpのHTTP/2対応について
naruse
0
480
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
5.6k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Documentation Writing (for coders)
carmenintech
77
5.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
230
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
400
Marketing to machines
jonoalderson
1
5.4k
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