Generally, I get excited about new shiny things, and move on, and pretend to myself that one day I'll come back to whatever project I'm abandoning 'just for a few days' while I check out something else.
My side projects folder is now overflowing, but I can't clean it out easily because of all the pesky .env files which aren't checked into git, so will be lost.
How are you folks managing this?
I started building https://onboardbase.com late last year for this specific reason. Actively building and improving it and i hope it helps as well.
If you're paranoid you can use GPG + a smart card like a yubikey, but its all about convenience trade off..
If its really sensitive, goes in Bitwarden.
Keep, document and archive a .env.example file for others, I guess?