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
590
Amazon EKS の過去、現在、そして未来
kennygt51
1
390
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
490
Other Decks in Technology
See All in Technology
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
150
Refining Active Record
shugo
0
150
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
継続的なAIコスト最適化
bgpat
1
340
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
RailsConf 2023
tenderlove
30
1.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Thoughts on Productivity
jonyablonski
76
5.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Designing for humans not robots
tammielis
254
26k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
The Curious Case for Waylosing
cassininazir
1
570
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