Forum Discussion

Tillmann's avatar
Tillmann
New Contributor
2 months ago

Local Environment File Partial Override and Merging

First of all I am very pleased with the announcement of the new environment feature to mount into local .env files!

For our use case it would be beneficial to allow merging different environments into the same .env file or to allow partial overrides of values locally that are persisting locking of the desktop application.

For local development, we have a single starter .env file with a lot of empty values and not all of these values are used by all developers. For example we have an authentication related section that contains secrets that are per-developer. For example the developer specific Github PAT, Social Auth provider App identifiers and credentials. These should be still stored in the single env file that is used during development and we would like to avoid fragmentation into multiple files at the moment, as it complicates our containerized configuration.

So I have two related feature requests:

  • Would it be possible to allow merging of different environments into a single mounted file (conflict resolution aside for now)?
  • Would it be possible to allow partial overrides of specific values based on the employee vault or local environment?

4 Replies

  • Tillmann's avatar
    Tillmann
    New Contributor

    Thanks brian1P​ for taking it to the relevant team. Another question that I couldn't see answered in the docs: Does the environment feature support group based access like vaults? So far I could only add individual users.

    • sid's avatar
      sid
      Icon for 1Password Team rank1Password Team

      Hey Tillmann​,

      You’re right — at the moment, Environments don’t yet support group-based access like vaults do. Right now, access can only be granted to individual users.

      That said, group support is something we’re planning to add in the future, since we know it’s a key part of how many teams manage permissions at scale. I don’t have a specific timeline to share just yet, but it’s definitely on our roadmap.

      Regards,
      Sid & Team

  • brian1P's avatar
    brian1P
    Icon for 1Password Team rank1Password Team

    Hi Tillmann​ and shyim​,

    Thanks for trying out our newest destination—we really appreciate your early feedback! I’ve captured both of your requests and will share them with the team. If anything else comes to mind as you continue testing, please don’t hesitate to let us know.

    Best,
    Brian & Team

  • shyim's avatar
    shyim
    New Contributor

    It would be nice to have kinda "Project" Level before the environments:

    My App:
      -> Production
      -> Staging

    and there I can inherit values / override.