Skip to content

Shared environment variables and secrets #3

Closed

Description

@alokedesai

Is your feature request related to a problem? Please describe.
Provisioning a project with the right environment variables is often very difficult. It's unclear which tools or scripts need to be run and what dependencies I need.

Describe the solution you'd like
I'd like for Warp to automatically embed shared env vars and secrets when I cd into the appropriate directory.

Additional context
Technically, two possible ways we could implement this are by integrating with tools like Nix or Docker. We could also investigate building our own format for representing shared environment variables on a per directory/repo basis. Using our precmd/preexec hooks, we could source these environment variables as necessary.

Activity

  1. tony-o commented on Jul 14, 2021

    @tony-o

    Direnv is another tool that does this.

  2. reitzig commented on Oct 5, 2021

    @reitzig

    Direnv is another tool that does this.

    Seconded. I'd favor a portable solution over something specific to my terminal (emulator) any day.

  3. changed the title [-]Shared environment variables and secrets[/-] [+]Idea: Shared environment variables and secrets[/+] on Nov 7, 2021
  4. elviskahoro commented on Nov 7, 2021

    @elviskahoro
    Contributor

    @reitzig direnv, is a shell tool. by portable do you mean across OSs or across shells, ...? The plan is to build Warp for Mac, web (wasm), linux, and windows.

  5. reitzig commented on Nov 7, 2021

    @reitzig

    Portable across terminals; my colleagues might not use Warp even if I did and agreeing on a "background" tool is a lot easier than a "frontend" tool.

  6. changed the title [-]Idea: Shared environment variables and secrets[/-] [+]Plugin: Shared environment variables and secrets[/+] on Nov 15, 2021
  7. changed the title [-]Plugin: Shared environment variables and secrets[/-] [+]Shared environment variables and secrets[/+] on Dec 6, 2021
  8. locked and limited conversation to collaborators on Jan 20, 2022
  9. converted this issue into a discussion #633 on Jan 20, 2022
  10. added a commit that references this issue on May 19, 2026
    d8e2c73
  11. added a commit that references this issue on Jul 28, 2026
    0666665
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions