rstudio / rstudio/shiny-server
Permit allow-listing environment variables to be passed to R processes
@jcheng5 is already working on this.
Since Dec 17, 2019.
- Dominant language
- JavaScript
- Stars
- 759
- Forks
- 290
- Avg merge
- 20m
- Merged PRs (30d)
- 4
Description
In cloud environments, it's common to use environment variables to pass secrets and other configuration information to otherwise static apps (containers, and similar). ShinyServer currently filters out these envvars. Solutions such as https://twitter.com/ellisvalentiner/status/1175163382401515522 involve modifying the shiny-server.sh script to pipe env variables into Renviron. That's a work around, but it makes the variables static (changes in env variables are not picked up even through app restarts) and requires maintaining custom scripts.
Requesting an allowlist system to allow envvars matching a regex (by name) be passed along to the R session.
Thanks for the consideration!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.