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.2k
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
300
KRMOps Dive Deep: kro を活⽤した Kubernetes の新たな抽象化
kennygt51
2
600
Amazon EKS の過去、現在、そして未来
kennygt51
1
390
Cluster API と VPC Lattice は Amazon EKS マルチクラスターの夢を見るか?
kennygt51
0
720
マルチテナントEKSクラスタにおける開発者への権限移譲
kennygt51
0
510
Vault + EKS + AWS SSOで実現する秘密情報管理
kennygt51
1
1.2k
社内でのサウナ布教活動
kennygt51
3
210
Dockerコンテナ@AWS ECSのモニタリングに入門した話
kennygt51
0
490
Other Decks in Technology
See All in Technology
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
230
GCASアップデート(202607-202610)
techniczna
1
220
Kiro Crew の Bot (続く役目を任せる窓口) | 目指せ Kiro マスター 12
inariku
PRO
2
300
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
190
Shared Signals Framework 仕様解説
oidfj
0
220
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
820
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
180
ゼロから作るWebアプリの新定番!?Amplify Gen 2 × AWS Blocksで実現する「開発速度とRDBの柔軟性のいいとこ取り」
amixedcolor
1
170
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.2k
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
1
120
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
110
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
320
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
760
Documentation Writing (for coders)
carmenintech
77
5.6k
Darren the Foodie - Storyboard
khoart
PRO
4
4.1k
Skip the Path - Find Your Career Trail
mkilby
1
290
Bash Introduction
62gerente
615
220k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Automating Front-end Workflow
addyosmani
1370
210k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
A Tale of Four Properties
chriscoyier
163
24k
RailsConf 2023
tenderlove
30
1.6k
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