You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feature(proposal): Bindings for system environment variable #70
At the moment I have to put the values for environment variables as key bindings. I'd like a way to read system environment variables similar to process.env in Node.js. Perhaps one way to make it work could be explicitly binding to a system environment variable. Another option could be specifying it via the runtime/cli.
This would be an excellent evolution, since today there is no way to give a variable or a secret to a worker without putting it in clear text in the capnp file. The interface proposed by @kentonv would suit very well.
Activity
kentonv commentedon Oct 4, 2022
I think it would make sense to allow a text binding to take its value from an environment variable, and this should be easy to implement.
So like:
It's important that this be declared explicitly, though, so that secrets from the environment don't accidentally leak to workers.
josephpage commentedon May 17, 2023
This would be an excellent evolution, since today there is no way to give a variable or a secret to a worker without putting it in clear text in the capnp file. The interface proposed by @kentonv would suit very well.
Add binding type that takes value from system environment variable.
kentonv commentedon Jun 18, 2023
Implemented in #786. Sorry it took a while, been backlogged.
Add binding type that takes value from system environment variable.
Add binding type that takes value from system environment variable.
fix(server): facet channel UaF after alarm timeout
fix(server): facet channel UaF after alarm timeout