Similar Posts

Subscribe
Notify of
4 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
vkxni
1 year ago

I like to make that on GitHub I write all .env files into .gitignore – so files that should not be on the repository. So any .env.development, .env.test, .env.production – safe is safe:D

I’ll charge it up on the server, nobody sees it there.

Noeru
1 year ago

Is it not an option to store the key in a .env, to encrypt it (e.g. with AGE) and simply not to check in (data in .gitignore or comparable)?

geheim007b
1 year ago

outsource in config file and remove per ignore from git