Setting RavenDB ApiKey in NServiceBus 3.2.3
问题 I am trying to set the RavenDB DocumentStore.ApiKey in NServiceBus 3.2.3. According to this thread, this is not able to be read directly from the connection string by the version of RavenDB used in NSB 3.2.3. The DocumentStore instance in NSB is registered as an IDocumentStore , which means I cannot use a custom action like this as IDocumentStore does not expose ApiKey : Configure.With() .DefaultBuilder() .RavenPersistence() .RunCustomAction(() => Configure.Instance.Configurer