I have a Sharepoint 2013 provider-hosted app that gets installed (along with a custom WCF Sharepoint-hosted service) using a powershell script. This script also creates a SQL Server database that the app uses to store some data. After the database is created, an sql login and user is created and a connection string is generated.
The question is, where to store this connection string so the app can get it?
Since is kind of sensitive information, I'd like a place that's only accessible via server-side code.