Build the HTTP remote configuration. `identity_hint` — an explicit identity name to use (from `--identity`). When `None`, identity is inferred from the remote URL and the global config's server bindings.
(
&self,
remote_url: &str,
identity_hint: Option<&str>,
)
| 379 | /// When `None`, identity is inferred from the remote URL and the global |
| 380 | /// config's server bindings. |
| 381 | async fn build_remote_config( |
| 382 | &self, |
| 383 | remote_url: &str, |
| 384 | identity_hint: Option<&str>, |
| 385 | ) -> HttpRemoteConfig { |
| 386 | let config = HttpRemoteConfig::new() |
| 387 | .with_timeout(Duration::from_secs(self.timeout)) |
| 388 | .danger_accept_invalid_certs(self.insecure); |
| 389 | |
| 390 | crate::commands::auth::attach_identity(config, remote_url, identity_hint).await |
| 391 | } |
| 392 | |
| 393 | /// Display the dry run preview: per-view manifest sync plans. |
| 394 | fn display_dry_run( |