(&self)
| 364 | |
| 365 | #[must_use] |
| 366 | pub fn credential_env_vars(&self) -> Vec<&str> { |
| 367 | let mut vars = Vec::new(); |
| 368 | for credential in &self.credentials { |
| 369 | for env_var in &credential.env_vars { |
| 370 | if !vars.contains(&env_var.as_str()) { |
| 371 | vars.push(env_var.as_str()); |
| 372 | } |
| 373 | } |
| 374 | } |
| 375 | vars |
| 376 | } |
| 377 | |
| 378 | /// Whether this profile can be created without initial static credentials. |
| 379 | /// |
no test coverage detected