Skip to content

Avoid leaking sensitive environment variables used in endpoints #4865

Answered by tnzk
frangio asked this question in Q&A
Discussion options

You must be logged in to vote

Though it depends on how you deploy, as long as you import the module only on server side, why don't you use simply process.env.SECRET ?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@frangio
Comment options

Answer selected by frangio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants