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

Function load_credential_set_embedded

crates/openshell-prover/src/credentials.rs:346–353  ·  view source on GitHub ↗

Load credentials with API registries from the embedded registry.

(credentials_path: &Path)

Source from the content-addressed store, hash-verified

344
345/// Load credentials with API registries from the embedded registry.
346pub fn load_credential_set_embedded(credentials_path: &Path) -> Result<CredentialSet> {
347 let creds = load_credentials(credentials_path)?;
348 let api_registries = load_embedded_api_registries()?;
349 Ok(CredentialSet {
350 credentials: creds,
351 api_registries,
352 })
353}
354
355/// Load credentials with API registries from a filesystem directory override.
356pub fn load_credential_set_from_dir(

Calls 2

load_credentialsFunction · 0.85