Skip to content

Epic: Shared environment variables and secrets for prebuilds and workspaces #7517

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

Closed
1 task done
jldec opened this issue Jan 9, 2022 · 1 comment
Closed
1 task done
Assignees
Labels
team: webapp Issue belongs to the WebApp team type: epic

Comments

@jldec
Copy link
Contributor

jldec commented Jan 9, 2022

Summary
Environment variables for workspaces are currently only configurable on a per-user basis and cannot easily be shared amongst a team of collaborating users.

Environment variables are not currently injectible into prebuilds.

This epic addresses both of these limitations, starting first at the project-level, and then the team level.

NOTE: Since environment variable are also used for secrets, these enhancements introduce new security considerations.

Context
See RFC (internal)

Value
This is a highly requested feature.

  • prebuilds and workspaces would benefit from consistent configuration e.g. for installation directories.
  • In some scenarios prebuilds require secrets e.g. to read from non-public storage buckets.

Acceptance Criteria

TBD

Measurement

TBD

Tasks

  1. Introduce project-level env vars, and expose them in all project workspaces & prebuilds.
  2. Add a visibility warning in the variable-setting UI (especially for public repos).
@jldec
Copy link
Contributor Author

jldec commented Jan 27, 2022

Closing this epic. See #7881 for followup.

@jldec jldec closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: webapp Issue belongs to the WebApp team type: epic
Projects
Archived in project
Development

No branches or pull requests

4 participants