Skip to main content

create_cloud_home

Function create_cloud_home 

Source
pub async fn create_cloud_home(
    config: &Config,
    key_service: &StoreKeys,
    clock: ClockRef,
) -> Result<Box<dyn CloudHome>, CloudHomeError>
Expand description

Build a CloudHome from config, surfacing a missing or malformed provider configuration as a non-retryable CloudHomeError::Configuration so a host can tell “fix your settings” apart from a transient failure it should keep retrying.