Forum Discussion

Sadia_A1P's avatar
Sadia_A1P
Icon for 1Password Team rank1Password Team
5 months ago

Introducing new .env file support in 1Password

Today, we’re introducing a first-of-its-kind feature available in the 1Password Desktop app.

With the new local .env file destination in 1Password Environments, you can securely use and share .env files across your team, without rewriting how your app loads credentials.

Here’s why it matters:

  1. Zero plaintext secrets on disk: Secrets are loaded into applications on demand. You can’t accidentally commit them.
  2. No cumbersome sharing of secrets: Teammates get instant access - no DMs or copying secrets.
  3. Built for teams: Version history, access control, and automatic updates - all in one place.
  4. Offline access: No more internet connection required to load secrets from 1Password. Secrets are sourced directly from the desktop app's local cache.

Now available in beta on Mac and Linux. Interested to see it in action? Watch the demo video below.

Video not displaying? Watch it here.

💬 Share feedback, get swag

We want your input on what to build next: CI/CD integrations? Docker support? Something else?

📖 Read the docs to get started

👉 Join the discussion in the 1Password Developer Community

🧢 The first 10 developers to start a discussion on the 1Password Developer Community Hub to share feedback by October 31st will get exclusive 1Password swag. Be sure to tag your post with beta-environments.

21 Replies

  • All, 

    This one is super rad, I've been working with this feature over the past few months and it really has helped my workflow. I was able to drop my reliance on ".gitignore" skipping my ".env" files and relax a little bit.

    Then when I accidentally share my API key on a live stream, I just get a new one, update it in 1Password and I'm good to go. No more do I have to "find & replace" to get things updated, or remember what script is setting some random ENV variable.  It is now all in one place.

    High-five 🙌 to the team on this release!

    We are super excited to see how you use this and how it helps out with your workflows.  Here is a quick gif of what to look for in 1Password.