arcus-azure / arcus.messaging

Messaging with Microsoft Azure in a breeze.
https://messaging.arcus-azure.net
MIT License
20 stars 11 forks source link

Investigate if KeyVault reference syntax is supported out-of-the-box for ServiceBus Worker Services #276

Open fgheysels opened 2 years ago

fgheysels commented 2 years ago

I was wondering if the KeyVault reference syntax (see this for more information) is supported out-of-the-box when we create a ServiceBus worker.

Can we put the connectionstring as a keyvault-reference in the Configuration, and is the connectionstring then retrieved from KV without us having to do any code changes ?

stijnmoreels commented 1 year ago

This is actually a non-Arcus question. The Arcus Service Bus message pump still support a IConfiguration function to be passed-in to retrieve a connection string, but otherwise you'll have to go via the Arcus secret store anyway.