Class VaultReactiveBootstrapConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @Deprecated
    @ConditionalOnProperty(name="spring.cloud.vault.enabled",
                           matchIfMissing=true)
    @ConditionalOnExpression("${spring.cloud.vault.reactive.enabled:true}")
    @ConditionalOnClass({reactor.core.publisher.Flux.class,org.springframework.web.reactive.function.client.WebClient.class,org.springframework.vault.core.ReactiveVaultOperations.class,reactor.netty.http.client.HttpClient.class})
    @EnableConfigurationProperties(VaultProperties.class)
    public class VaultReactiveBootstrapConfiguration
    extends VaultReactiveAutoConfiguration
    Deprecated.
    since 3.0, use VaultReactiveAutoConfiguration through @EnableAutoConfiguration.
    Bootstrap-configuration for reactive Spring Vault support.

    This auto-configuration only supports static endpoints without VaultEndpointProvider support as endpoint providers could be potentially blocking implementations.

    Since:
    2.0.0
    Author:
    Mark Paluch
    • Constructor Detail

      • VaultReactiveBootstrapConfiguration

        public VaultReactiveBootstrapConfiguration​(VaultProperties vaultProperties,
                                                   org.springframework.beans.factory.ObjectProvider<org.springframework.vault.client.ReactiveVaultEndpointProvider> reactiveEndpointProvider,
                                                   org.springframework.beans.factory.ObjectProvider<org.springframework.vault.client.VaultEndpointProvider> endpointProvider,
                                                   org.springframework.beans.factory.ObjectProvider<List<org.springframework.vault.client.WebClientCustomizer>> webClientCustomizers)
        Deprecated.