.env files are also used by process management tools like node-foreman,
https://npmjs.org/package/foreman


-- Daniel R. <[email protected]> [http://danielr.neophi.com/]


On Fri, Dec 27, 2013 at 11:24 PM, Tim Walling <[email protected]> wrote:

> Store them in environment variables and use something like dotenv (
> https://npmjs.org/package/dotenv) to load them in your application.
>
>
> On Friday, December 27, 2013 10:31:54 AM UTC-5, Reginald Choudari wrote:
>>
>> Hello, this morning I was pondering on a good way to store passwords
>> server-side to be used by a Node app. I would like to publish the app's
>> code on GitHub but obviously would not want to publish my passwords ...
>>
>> One method I have seen before was to add passwords to the environment
>> vars in the server's local .bash_profile, and then have the Node app access
>> these env vars in the code. Could this be a sufficient (and secure) way?
>>
>> Thanks,
>> Reginald
>>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to