ES_PASSWORD environmental variable and es.password flag removal #5921
Replies: 3 comments 1 reply
-
Docker doesn't really have this capability (without swarm which you likely don't want to use) are you running on k8s as that has a secret capability. |
Beta Was this translation helpful? Give feedback.
-
Hello, we are running on K8s. There is the capability to provision secrets with a secret file in a volume which is mounted. As far as I know, not to provision secrets as environmental variables is now DfSec requirement and Pen Testcase as well . |
Beta Was this translation helpful? Give feedback.
-
I mean you still have to store the password in the secret, so I'm not sure it's any "less safe" this way. This is how you'd have to do it.
On Jaeger deployment:
You'd have to create a PR to change the code to read from that file instead. Something like this:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
There is a general security requirement to avoid provisioning a secret as container environment variable.
In jaeger collector and jaeger ingester, environmental variable ES_PASSWORD which is mapped to es.password flag is used to pass the needed elasticsearch password.
Could you please consider removing ES_PASSWORD env variable and es.password flag and pass the elasticsearch password via for example provisioning it with a secret file in a volume which is mounted in order to be compatible with the security requirement?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions