Function vector::config::load_from_paths_with_provider_and_secrets
source ยท pub async fn load_from_paths_with_provider_and_secrets(
config_paths: &[ConfigPath],
signal_handler: &mut SignalHandler,
allow_empty: bool,
) -> Result<Config, Vec<String>>
Expand description
Loads a configuration from paths. Handle secret replacement and if a provider is present in the builder, the config is used as bootstrapping for a remote source. Otherwise, provider instantiation is skipped.