-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the Upstream configuration file doesn't support environmental variables #9083
Comments
hello @edsiper , |
Addressed in PR #9255 |
Hey there, however parameters used by the caller plugin( in this case out_forward) are still stored in a hashmap which means they wont be translated from env variables, the most notable parameter is the Shared_Key which means the password for connecting to the endpoint still needs to be in plaintext. It would be much appreciated if this was handled as well |
Sure, I missed that detail and thought the only part of the system that lacked that feature was the ha stuff. |
I think my last commit should cover the missing feature, I'd really appreciate it if you gave me some more feedback. |
@leonardo-albertovich |
thanks everyone. this will be available on 3.1.7 |
fixed in #9255 |
Bug Report
Describe the bug
the upstream config file used by the
forward
plugin does not support use of environmental variables and assigns empty values instead of using the env var.this is problematic when trying to for example assign the
shared_key
orport
parameters, since it means the parameters need to be set in plaintext inside the upstream config which would raise security concerns in case ofshared_key
.To Reproduce
in case of using an env var for
share_key
:if the password is set in plain text however the connection succeeds.
in case of using an env var for
port
:Steps to reproduce the problem:
Expected behavior
the upstream configuration file should respect the env variables and connect on the correct port and use the correct password.
Your Environment
Additional context
the main reason for this issue is the security concern about using plaintext passwords in a production environment and supporting env variables would be great help for security.
The text was updated successfully, but these errors were encountered: