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

Function cli_mtls_backup_dir

crates/openshell-bootstrap/src/mtls.rs:88–90  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

86}
87
88fn cli_mtls_backup_dir(name: &str) -> Result<PathBuf> {
89 Ok(cli_mtls_dir(name)?.with_extension("bak"))
90}
91
92fn validate_cli_mtls_bundle_dir(dir: &std::path::Path) -> Result<()> {
93 for name in ["ca.crt", "tls.crt", "tls.key"] {

Callers 1

store_pki_bundleFunction · 0.85

Calls 1

cli_mtls_dirFunction · 0.85

Tested by

no test coverage detected