title: environment variables in shiny-server
body: <p>I'm trying to deploy a shiny app using <code>shiny-server</code>. That app uses the <a href="https://github.com/cloudyr/aws.s3" rel="nofollow"><code>aws.s3</code></a> package to read some files from an S3 bucket, which requires the AWS credentials either be stored in environment variables or in an <code>.Renviron</code> file.</p>
  
  <p>Understandably, <a href="https://groups.google.com/d/msg/shiny-discuss/nNs0kztwdWo/90InjZXfAPEJ" rel="nofollow">shiny-server scrubs most environment variables before launching R</a>. Is there any way to square this circle? Any other mechanism I could use to pass credentials to aws.s3?</p>