MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / get_root_ca

Method get_root_ca

cert-client/src/lib.rs:48–53  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46 }
47
48 pub async fn get_root_ca(&self) -> Result<String> {
49 match self {
50 CertRequestClient::Local { ca } => Ok(ca.pem_cert.clone()),
51 CertRequestClient::Kms { client, .. } => Ok(client.get_meta().await?.ca_cert),
52 }
53 }
54
55 pub async fn create(
56 keys: &AppKeys,

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
get_metaMethod · 0.45

Tested by

no test coverage detected