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

Function sandbox_principal

crates/openshell-server/src/multiplex.rs:1428–1436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1426 }
1427
1428 fn sandbox_principal() -> Principal {
1429 Principal::Sandbox(SandboxPrincipal {
1430 sandbox_id: "sandbox-a".to_string(),
1431 source: SandboxIdentitySource::BootstrapJwt {
1432 issuer: "openshell-gateway:test".to_string(),
1433 },
1434 trust_domain: Some("openshell".to_string()),
1435 })
1436 }
1437
1438 #[tokio::test]
1439 async fn mtls_peer_identity_fills_missing_principal_when_enabled() {

Calls 1

SandboxClass · 0.85

Tested by

no test coverage detected