title: Azure Function to use connection from Azure Key Vault local development
body: <p>We are developing the function locally and although we can use the ConfigurationBuilder().AddAzureKeyVault() in the startup to retrieve the Key Vault secrets, we are struggling to make the Queue trigger to get the connection string from the Key Vault. As can be seen below, the connection is currently retrieved from a AzureWebJobsStorage key present in the local.settings.json:</p>
  <pre><code>    [FunctionName(&quot;myFunction&quot;)]
      public async Task MyFunction([QueueTrigger(&quot;aQueue&quot;, Connection = &quot;AzureWebJobsStorage&quot;)] Car myCar)
      {
          await getCarAsync(myCar.Name);
      }
  </code></pre>
  <p>local.settings.json</p>
  <pre><code>{
    &quot;IsEncrypted&quot;: false,
    &quot;Values&quot;: {
      &quot;AzureWebJobsStorage&quot;: &quot;DefaultEndpointsProtocol=https;AccountName=....&quot;,
  </code></pre>