Build the HTTP remote configuration. Creates an `HttpRemoteConfig` with the timeout and security settings specified by the user.
(&self)
| 283 | /// Creates an `HttpRemoteConfig` with the timeout and security settings |
| 284 | /// specified by the user. |
| 285 | async fn build_remote_config(&self) -> HttpRemoteConfig { |
| 286 | let config = HttpRemoteConfig::new() |
| 287 | .with_timeout(Duration::from_secs(self.timeout)) |
| 288 | .danger_accept_invalid_certs(self.insecure); |
| 289 | |
| 290 | // Clone uses the URL directly — identity inferred from subdomain only. |
| 291 | crate::commands::auth::attach_identity(config, &self.url, None).await |
| 292 | } |
| 293 | |
| 294 | /// Get the display name for the repository. |
| 295 | /// |