logoalt Hacker News

magackametoday at 5:59 AM1 replyview on HN

It seems only encrypt and throw away the key would be the acceptable strategy


Replies

TheDongtoday at 6:02 AM

They need to give your app the environment variables later so they cannot throw away the key.

For non-sensitive environment variables, they also show you the value in the dashboard so you can check and edit them later.

Things like 'NODE_ENV=production' vs 'NODE_ENV=development' is probably something the user wants to see, so that's another argument for letting the backend decrypt and display those values even ignoring the "running your app" part.

You're welcome to add an input that goes straight to '/dev/null' if you want, but it's not exactly a useful feature.

show 1 reply