Skip to content
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

Environment variable substitution in node config #315

Open
autodidaddict opened this issue Jul 10, 2024 · 0 comments
Open

Environment variable substitution in node config #315

autodidaddict opened this issue Jul 10, 2024 · 0 comments
Labels
proposal Enhancement idea or proposal

Comments

@autodidaddict
Copy link
Contributor

Proposed change

Support the classic environment variable substitution syntax (e.g. ${MY_SECRET}) in the node configuration file. Go through all of the configuration fields where it makes sense and perform the environment variable substitution at load time.

Use case

At some point operating and maintaining Nex might get difficult if the configuration files remain entirely static. In some cases it would be easier if the configuration file referred to an env var so that the same config file could be used in multiple locations but have different variables (e.g. when supplying NATS connections and credentials)

Contribution

No response

@autodidaddict autodidaddict added the proposal Enhancement idea or proposal label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

1 participant