DEV Community

Discussion on: 🤫How to handle 🗝️ secrets 🗝️ in Node.js (Video Tutorial)

Collapse
 
we10710aa profile image
Raymond Chang

Hello, Ryan. Can you tell more about "read in secrets from a yaml or json file which gets added to the system at build-time with a ci pipeline"? It's there a tool to do that or some articles on how to do that? I'm pretty new to nodejs and would appreciate your help.

Collapse
 
genster profile image
Ryan Cole

Hi Raymond! Ya totally. You know I think I'll write it up into a longer form article. Been wanting to do that for a while anyways :) I'll ping you when I get it published.

Collapse
 
genster profile image
Ryan Cole

Ok here it is! dev.to/genster/config-like-a-pro-4j3i

I'll write up a second post to get into the details of how we manage secrets in the pipeline. This first post is about loading and accessing values in the app itself. Hope it's helpful!