最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to manage environment variable-based secrets in Kubernetes using HashiCorp Vault (without Kubernetes Secrets) - Stack Overfl

programmeradmin6浏览0评论

I am trying to use HashiCorp Vault for secret management in kubernetes environment and want to fetch secrets directly from Vault without relying on Kubernetes Secrets.

So far, I have explored two approaches:

Vault Sidecar Injector: Fetches the secret and stores it in a plain text file. The application must manually load the secret into an environment variable.

Vault CSI Driver: Periodically updates the secret but also writes it to a file, rather than directly injecting it into an environment variable.

My goal is to:

Inject secrets as environment variables without storing them in plaintext files.

Ensure secrets are automatically updated when they change in Vault.

Is there a recommended approach or best practice to achieve this?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论