dstack dev explains cloud KMS trust boundary: policy is as secure as the cloud

bgmshana · x · 2026-11-23

dstack developer @bgmshana responds to security concerns: a cloud KMS is, by design, as secure as the cloud. Two ways to exclude the cloud from the TCB: (1) use an onchain KMS where a smart contract is the policy backend; (2) explicitly verify each request and use no KMS keys at all—which degrades the deployment to a TEE without a KMS. The cloud still can't arbitrarily read user secrets unless the code is updated with the policy silently bypassed, and such a change would be caught by remote attestation.

Related event: Debate over Phala TEE trust model: root key control at center of developer dispute(12 posts)→

Original post →

More from Infra

Infra channel →