This already works and is actually the recommended way to handle connection strings, since you do not want them to be included in your source code. You can use the application parameter name for the connection value, and we will enable it. In the following EventHub function that is running, the values MyEventHubReceiver , MyEventHubSender and MyEventHubPath will be automatically resolved from the application settings:
"bindings": [ { "type": "eventHubTrigger", "name": "input", "direction": "in", "connection": "MyEventHubReceiver", "path": "%MyEventHubPath%" }, { "type": "eventHub", "name": "output", "direction": "out", "connection": "MyEventHubSender", "path": "%MyEventHubPath%" } ] }
In general, most binding properties support the %% permission syntax, which allows you to store the actual values ββin the application settings for both security and configuration.
mathewc
source share