Secrets ストア CSI ドライバー@Secret 系¶
はじめに¶
本サイトにつきまして、以下をご認識のほど宜しくお願いいたします。
01. Secrets ストア CSI ドライバーとは¶
Secrets ストア CSI ドライバーは、SecretProviderClass で定義したプロバイダー (例:AWS、Google Cloud、Vault) の API と通信し、プロバイダーの Secret ストア (例:AWS Secrets Manager、Google Cloud SecretManager、Vault SecretsEngine) から変数を取得する。
その後、Secret は使用せずに Pod 内コンテナのファイルとしてマウントする。
Secret のデータとして注入する External Secrets Operator や helm-secrets/vault-helm と比較して、Secret を作成しない点で脆弱性が高い。
一方で、Pod 内コンテナに直接的にマウントするため、Kubernetes とプロバイダーがより密結合になってしまう。

02. Secrets ストア CSI ドライバーの仕組み¶
アーキテクチャ¶
Secrets ストア CSI ドライバーは、CSI ドライバーから構成される。