MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / credential_env_vars

Method credential_env_vars

crates/openshell-providers/src/profiles.rs:366–376  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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 ///

Callers 2

Calls 2

pushMethod · 0.80
as_strMethod · 0.45

Tested by

no test coverage detected