nconf icon indicating copy to clipboard operation
nconf copied to clipboard

expand environmental variables in config files.

Open mfchung opened this issue 9 years ago • 3 comments

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

{
  "bankservice": {
    "username": "systemadmin",
    "password": "${SECRET_PASSWORD}",
  }
}

mfchung avatar Sep 25 '15 13:09 mfchung

+1

goto100 avatar Nov 28 '15 04:11 goto100

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

karrots avatar Jan 20 '16 05:01 karrots

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: [email protected] To: [email protected] CC: [email protected] 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.

mfchung avatar Jan 20 '16 13:01 mfchung