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

Method from_provider_env

crates/openshell-core/src/secrets.rs:114–118  ·  view source on GitHub ↗
(
        provider_env: HashMap<String, String>,
    )

Source from the content-addressed store, hash-verified

112impl SecretResolver {
113 #[cfg_attr(not(test), allow(dead_code))]
114 pub fn from_provider_env(
115 provider_env: HashMap<String, String>,
116 ) -> (HashMap<String, String>, Option<Self>) {
117 Self::from_provider_env_for_revision(provider_env, HashMap::new(), 0)
118 }
119
120 pub fn from_provider_env_for_revision(
121 provider_env: HashMap<String, String>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected