What's the best way to pass credentials (for a database connection) to a Shiny or Connect app in RConnect? Obviously we don't want to hard-code them, but we're having problems reading from any environment files - I assume this is due to the way Connect packages and publishes?
Your options include using a config file, but please be careful with this, since it would typically also mean that your config file is under version control, and thus your passwords could leak.