例
KeeperシークレットマネージャーのKubernetes Injector連携向けの完全な実行可能な例
クイックチェック: Podへのシークレット注入
apiVersion: v1
kind: Pod
metadata:
name: hello-secrets
annotations:
keeper.security/inject: "true"
keeper.security/ksm-config: "keeper-credentials"
keeper.security/secret: "demo-secret"
spec:
containers:
- name: app
image: busybox:1.36
command: ["sh", "-c", "cat /keeper/secrets/demo-secret.json && sleep 3600"]kubectl logs hello-secrets # prints the record JSON
kubectl get pod hello-secrets -o jsonpath='{.spec.containers[*].name}' # includes keeper-secrets-sidecarファイルとしてのデータベース認証情報
.env ファイルのレンダリング
.env ファイルのレンダリングテンプレートによる接続文字列の生成
環境変数として注入
Deployment向けKubernetes Secretの作成
NGINX向けTLS証明書とキー
フォルダ内のすべてのシークレットを注入
Keeper Notationによる単一フィールドの抽出
自動ローテーション
その他の例とGitHubソース
最終更新

