devpod icon indicating copy to clipboard operation
devpod copied to clipboard

Allow setting of envvars/sensitive data to workspaces

Open mrsimonemms opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? In Gitpod, there is the ability to set environment variables to the control plane. These are then loaded when your workspace starts up, which are very useful for storing credentials and sharing them securely.

Which solution do you suggest? Something similar to Gitpod. A "user settings" page with the ability to add arbitrary envvars limited by scope (<owner>/<repo> with support for * wildcards in both parts).

For bonus points, it would be useful allowing both envvars and files to be set similar to how GitLab does for CI/CD settings variables. That way, if we wanted to store a kubeconfig file or a GCP service account JSON file, we wouldn't need to convert the envvar into a file via Dotfiles

Which alternative solutions exist? Gitpod supports this

Additional context Slack thread

mrsimonemms avatar Jul 07 '23 15:07 mrsimonemms

@mrsimonemms thanks a lot for creating this issue! Yes that is a very good idea, I think this was part of our roadmap item to implement dotfiles as well.

FabianKramm avatar Jul 10 '23 09:07 FabianKramm

We've never linked back the PRs but DevPod supports the --workspace-env and --workspace-env-file flags

pascalbreuninger avatar Apr 17 '24 20:04 pascalbreuninger