How can I inject secrets to my Node app #3537
Unanswered
manuelpoelzl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm currently trying to get infisical to work with my application but I'm stuck currently.
My application needs secrets to be available at app starta so I saved the following into my .env file:
My start command in package.json looks like this:
The app starts without problems and TypeScript gets compiled, however I dont seem to get any secrets. when I try to access them via
process.env
they're always undefined.I did sign in with the CLI and linked the project as stated in the documentation.
I'd be grateful if someone could help.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions