Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vault on Kubernetes
Search
Kenta Goto
July 25, 2019
Technology
4.1k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vault on Kubernetes
Kenta Goto
July 25, 2019
More Decks by Kenta Goto
See All by Kenta Goto
Amazon EKS を活⽤した LLM 推論基盤の全体像
kennygt51
0
280
KRMOps Dive Deep: kro を活⽤した Kubernetes の新たな抽象化
kennygt51
2
570
Amazon EKS の過去、現在、そして未来
kennygt51
1
380
Cluster API と VPC Lattice は Amazon EKS マルチクラスターの夢を見るか?
kennygt51
0
710
マルチテナントEKSクラスタにおける開発者への権限移譲
kennygt51
0
500
Vault + EKS + AWS SSOで実現する秘密情報管理
kennygt51
1
1.2k
社内でのサウナ布教活動
kennygt51
3
210
Dockerコンテナ@AWS ECSのモニタリングに入門した話
kennygt51
0
480
Other Decks in Technology
See All in Technology
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
100
セルフサービスのオブザーバビリティ基盤をOpenTelemetryで作る / Building a Self-Service Observability Platform with OpenTelemetry
ymotongpoo
3
380
GitHub Agentic Workflows を触ってみる
htkym
2
740
Lambda MicroVMsは常駐サーバーの代わりに なるか? Kiro Crew を動かして検証してみた / Kiro Crew on Lambda MicroVMs
k_adachi_01
2
260
「どのログを見ればいい?」 から始めた サーバーレス障害解析
y_waka1
1
150
AI臭い文章とは何なのか
nasuvitz
3
440
AI coding 整合正規方法
philipz
0
550
あけおめLINE 傾向とその対策
nasa9084
0
340
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
290
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
320
ボードゲームの遊び相手をFoundation Modelsで作る / iOSDC Japan 2026
genda
0
200
AIに会社の文脈を理解させる技術~上流工程・非エンジニアにも広げるハーネスエンジニアリング実践~
ochtum
0
120
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.3k
A Modern Web Designer's Workflow
chriscoyier
699
190k
エンジニアに許された特別な時間の終わり
watany
109
250k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
450
4 Signs Your Business is Dying
shpigford
187
23k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
540
Visualization
eitanlees
153
17k
Raft: Consensus for Rubyists
vanstee
142
7.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Un-Boring Meetings
codingconduct
0
430
Transcript
Vault on Kubernetes gotoken @kennygt51
自己紹介 gotoken Twitter:@kennygt51 経歴: SIerで運用SE(5年) → Webの会社でインフラエンジニア(0.5年) 業務内容: 既存インフラのコンテナ化・クラウド化
アジェンダ ・Vaultとは ・Vault Architecture ・Kubernetes上に構築する ・デプロイ時に秘匿情報を環境変数に展開する
Vaultとは
Vaultとは ・HashiCorp社の秘匿情報管理ソフトウェア ・Dynamic Secretsなど、様々な秘匿情報管理機能を持つ ・クライアント/サーバ型で動作する ・クライアントで秘匿情報の保存や取得コマンドを実行 ・秘匿情報自体はサーバに保存 ・ユースケースとしては、サービス(秘匿情報)が多数ある場合、namespaceを跨ぐ秘 匿情報の共有が必要な場合、audit loggingなど
Vault Architecture
Client Vault storage backend Vault server Vault Architecture Seal /
Unseal ・クライアント/サーバモデル ・Vault CLI / HTTP API でアクセス ・Storage Backendに暗号化したデータを保存 詳細は以下 https://www.vaultproject.io/docs/internals/architecture.html https://www.kennys.tech/read-vault-architecture/
Kubernetes上に構築する
・Deployment ・Cluster IP Service ・AWS KMS(Auto-unsealing) ・DynamoDB(Storage Backend)
デプロイ時に秘匿情報を環境変数に展開する
envconsul ・consul / vaultから集めた環境変数と共に、サブプロセスを起動するツール
# envconsul \ > -config="./config.hcl" \ > -secret="secret/myapp/config" \ >
env 2019/07/20 05:11:57.423996 looking at vault secret/myapp/config ・・・ secret_myapp_config_username=appuser # envconsul -secret secret/common_app -secret secret/a_app bundle exec rails s ユースケース ・特定のpath配下の秘匿情報を環境変数として展開し、アプリケーションを起動 ・pathベースでの、アクセスコントロール(運用模索中。。) 使い方
ご清聴ありがとうございました @kennygt51