Your .env file is not the problem
Originally published on keydrift.dev. Syndicated here with a canonical link back to the original.
There is a reassuring ritual in every new project. You put your keys in .env, you check that .env is in .gitignore, and you move on. The repository stays clean. Every secret scanner in CI passes.
And then the key ships to every visitor who loads your site.
What the prefix actually does






