Skip to content
Slug Vault

Hand over a .env file without committing it

Send environment files to a teammate as a password-protected text file that expires. Keeps secrets out of git and chat history.

Why it matters

New teammates need the local .env to run the project. The usual answer — paste it in DMs — leaves every secret in a chat log.

How to do it

  1. 1

    Choose “Text file” and name it .env.local.

  2. 2

    Paste the contents and set a password.

  3. 3

    Share the link; they download the file with its original name.

  • Use a seven-day expiry for onboarding so it works when they get to it.
  • Keep production values out of local env files.

Good to know

More ways people use Slug Vault

Send it. Then let it lock.

No account, no app. Write the secret, set a password, pick a lock time.

Create a link