Hello! Can Pulumi Secrets store environment variab...
# general
b
Hello! Can Pulumi Secrets store environment variables for a Node.js application? I have a Pulumi project where I have the following structure in the repo. /app/ --> Where my node.js app resides /infra/ --> where my infra resides for the node.js app I'd like to use Pulumi to store envar's for my node.js app instead of using something like DotEnv.
d
I don't think there's a native way of doing it; but something I do is call the pulumi cli at the start of some of our applications to load the exported outputs
Might be easier to have the devs load a
.env
file from a password manager though; works great if you don't need to keep the values constantly up to date
b
Thanks @dry-keyboard-94795 I'll keep that in mind, I appreciate your feedback.