Build the HTTP remote configuration. Creates an `HttpRemoteConfig` with the timeout and security settings specified by the user.
(&self)
| 266 | /// Creates an `HttpRemoteConfig` with the timeout and security settings |
| 267 | /// specified by the user. |
| 268 | async fn build_remote_config(&self) -> HttpRemoteConfig { |
| 269 | let config = HttpRemoteConfig::new() |
| 270 | .with_timeout(Duration::from_secs(self.timeout)) |
| 271 | .danger_accept_invalid_certs(self.insecure); |
| 272 | |
| 273 | // Clone uses the URL directly — identity inferred from subdomain only. |
| 274 | crate::commands::auth::attach_identity(config, &self.url, None).await |
| 275 | } |
| 276 | |
| 277 | /// Get the display name for the repository. |
| 278 | /// |