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

Method ensure_kms_allowed

kms/src/main_service.rs:179–184  ·  view source on GitHub ↗
(&self, vm_config: &str)

Source from the content-addressed store, hash-verified

177 }
178
179 async fn ensure_kms_allowed(&self, vm_config: &str) -> Result<BootInfo> {
180 let att = self.ensure_attested()?;
181 self.ensure_app_attestation_allowed(att, true, false, vm_config)
182 .await
183 .map(|c| c.boot_info)
184 }
185
186 async fn ensure_app_boot_allowed(&self, vm_config: &str) -> Result<BootConfig> {
187 let att = self.ensure_attested()?;

Callers 1

get_kms_keyMethod · 0.80

Calls 2

ensure_attestedMethod · 0.80

Tested by

no test coverage detected