Is it possible to mount keyvault secrets as environment variables?

Gerald Ortiz Candela 40 Reputation points
2024-07-09T15:42:30.1333333+00:00

Hello,

I would like to know if it is possible that by obtaining the secrets from the keyvault, they can be mounted to the pod as environment variables.

I was reviewing the documentation and in the examples I have only found that they are mounted within a path

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,984 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 17,850 Reputation points MVP
    2024-07-09T16:38:37.7433333+00:00

    Yep - it is - follow https://medium.com/@bashaus/3-4-configuring-key-vault-to-expose-environment-variables-to-azure-kubernetes-services-48b633ec9e67


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful