Class VaultBootstrapper
java.lang.Object
org.springframework.cloud.vault.config.VaultBootstrapper
Utility to customize Bootstrapping of Vault when using the ConfigData API when
importing
vault://.- Since:
- 3.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.boot.bootstrap.BootstrapRegistryInitializerfromConfigurer(VaultConfigurer configurer) Create aBootstrapRegistryInitializerthat configures aVaultConfigurer.
-
Method Details
-
fromConfigurer
public static org.springframework.boot.bootstrap.BootstrapRegistryInitializer fromConfigurer(VaultConfigurer configurer) Create aBootstrapRegistryInitializerthat configures aVaultConfigurer.- Parameters:
configurer- the configurer to apply.- Returns:
- the bootstrapper object.
-