DEV Community

Discussion on: How do you store private keys?

Collapse
 
misobelica profile image
Mišo

You can use dotenv and encrypt the file .env by git-crypt or git-secret. There are other similar tools. Or you can encrypt just some file secrets.env and during the deploy process append it to the .env file.