/// <inheritdoc/> protected override void PreCreateBus(IInMemoryBusFactoryConfigurator configurator) { var encrpytionConfiguration = new TestKeyProvider(); configurator.UseAzureKeyVaultEncryption((kv) => { kv.EncryptionKey = encrpytionConfiguration.EncryptionKey; kv.KeyResolver = encrpytionConfiguration.KeyResolver; }); base.PreCreateBus(configurator); }
/// <inheritdoc/> protected override void ConfigureServiceBusBusHost(IServiceBusBusFactoryConfigurator configurator, IServiceBusHost host) { var encrpytionConfiguration = new TestKeyProvider(); configurator.UseAzureKeyVaultEncryption((kv) => { kv.EncryptionKey = encrpytionConfiguration.EncryptionKey; kv.KeyResolver = encrpytionConfiguration.KeyResolver; }); base.ConfigureServiceBusBusHost(configurator, host); }