You should commit .env.vault , but you must never commit .env.vault.local . Common Issues and Troubleshooting "Invalid Vault Key"
: On your server, you only need to set one variable: DOTENV_KEY . The Dotenv Vault library will automatically detect this key, decrypt the vault file on boot, and inject the variables. Deploying with a .env.vault file .env.vault.local
for your next project! .env.vault.local ^new^ You should commit