public void Configure(IWebJobsBuilder builder) { // Pass in the name of the setting that contains your Key Vault url // (setting will be read from local.settings.json or Azure app settings) var config = builder.AddAzureKeyVaultConfiguration("KeyVaultEndpoint"); // Now config contains all secrets from the Key Vault and you can use them in your DI setup builder.Services.AddSingleton <ISampleService>(p => new SampleService(config["SampleValue"])); // You can also use any Key Vault secrets in trigger/binding attributes (see ExampleFunction.cs) }