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

expand environmental variables in config files. #187

Open
mfchung opened this issue Sep 25, 2015 · 3 comments
Open

expand environmental variables in config files. #187

mfchung opened this issue Sep 25, 2015 · 3 comments

Comments

@mfchung
Copy link

mfchung commented Sep 25, 2015

It would be great if nconf could expand environmental variables in config files

{
  "bankservice": {
    "username": "systemadmin",
    "password": "${SECRET_PASSWORD}",
  }
}
@goto100
Copy link

goto100 commented Nov 28, 2015

+1

@karrots
Copy link

karrots commented Jan 20, 2016

Why do this when it can already read in environment variables?

@mfchung
Copy link
Author

mfchung commented Jan 20, 2016

because its more common for configuration to be in config files, that may contain contain environmental variables that need expanding. in any case i can work around, ignore request. thanks

Date: Tue, 19 Jan 2016 21:27:03 -0800
From: notifications@github.com
To: nconf@noreply.github.com
CC: mfchung@hotmail.co.uk
Subject: Re: [nconf] expand environmental variables in config files. (#187)

Why do this when it can already read in environment variables?


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants