-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Epic: Organization-wide environment variables and secrets for prebuilds and workspaces #7881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Anyone, please share if you have concrete demand for this and why. |
In our discord channels, I have seen a bunch of people in the past who could potentially find this feature useful. |
@svenefftinge |
I talked with a CTO today and they have 200+ microservices, each in their own git repository. They'd like to configure variables at the team level so individual projects inherit the variables. |
+1 please |
With Project-level variables already in place, it seems pretty easy to add Team-level variables as well (can re-use most of the same code and UI). Thus, I believe this should not be an "epic", but just a regular issue. Also, I'm happy to make this happen, and thus optimistically assigned myself. Currently focused on finishing other high-priority items, but happy to pick this up if/when it gets "scheduled". 👍 |
We would like to have prebuilt-only variables on projects. |
This would make setup and ongoing management of Gitpod for our team much less of a chore. We have ~15 microservices each with their own repository, and the management of env vars is one of the only downsides I have on my pro/con list for moving our team to Gitpod. |
Thanks for detailing your use case @KayakinKoder! This helps with prioritization. @karpa Maybe I'm missing something, but it seems that what you describe can already be achieved today, like so:
I.e. if you want prebuild-only variables, you can keep "Hide Variable in Workspaces" checked. ✅ |
Could be very useful to be able to inject API keys that live at organization level. Btw, support for tool like doppler.com can be useful also to have a better secret management. Currently we use an init scritpt that download env from doppler and inject them in the current workspace using gp env :) Thanks a lot for your amazing product, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale 🙏 |
Could workspace-classes be configured globally (org-wide) as well? |
That would help a lot, especially if tem member variables can be set individually. |
We are actively investigating Gitpod supporting something similar to as described here: This allows Gitpod to be used as an IdP and authenticate with services like cloud providers (AWS, GCP, Azure) or Vault without the need for environment variables in your workspace. This works by establishing a trust relationship between Gitpod and these providers. If anyone stumbling on this issue would like to chat to see how this does/could work in Gitpod, I'd be happy to talk you through it, and see what we'd need to do to get things setup for you. CC: @millerh1, @Sandared, @aabkn301, @MrPeacockNLB, @mikestaub, @ghostdevv, @faerman (for 👍 reactions) |
Have you seen... https://www.gitpod.io/blog/securely-manage-development-secrets-with-doppler-and-gitpod CC: @burningion |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. |
This is the only issue for us. Our tech-support team will use a CDE to manage small areas of our customers codebase.
For the time being, we will ask our users to set their own environment variable on gitpod, but it makes rotating our tokens a bit of a chore. We'd much rather have an organisation-level token that we can rotate centrally. When reviewing the different CDE's this quickly became a requirement as we know it will make onboarding new team members as simple as "click the invite link". Edit: The reason we don't use project-level secrets, is that we have hundreds (thousands?) of repos. |
Hi @oodavid and everyone else here. If you don't configure a custom image for each of the said repos, you could apply the following workaround: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary
In epic #7517 we introduced project-specific environment variables for prebuilds & workspaces.
This followup epic adds team-wide environment variables shared across all the projects in a team.
The goal of this feature is to help teams to maintain cross-project configuration like secrets, with minimal duplication.
The text was updated successfully, but these errors were encountered: