Better HN
topnewbestaskshowjobs
Log inSign up

saturn-five

1 karma · joined Sep 26, 2024 (2y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

This is by far the simplest solution. It’s easier to understand and setup than the other solutions mentioned. It simply encrypts the value portion of the variable so its safe to commit the entire env file. The only draw back is developers could still potentially commit private keys the repo or commit the decrypted env file. If you’re working with env variables that don’t require updates often it’s a decent solution.