Authentication
All API requests require an API key passed in theX-API-Key header. Generate your key at Settings → API Keys in the Phala Cloud dashboard.
Deployment Flow
CVM deployment follows a two-phase provision → commit workflow:- Provision — reserve resources and receive a
compose_hashandapp_env_encrypt_pubkey - Commit — finalize the deployment with the provisioned values
KMS Types
For on-chain KMS details, see the On-chain KMS guide.
Using SDKs
For a simpler experience, use one of the official SDKs instead of raw API calls:JavaScript SDK
@phala/cloud — provision, deploy, and manage CVMsPython SDK
phala-cloud — sync and async clientGo SDK
github.com/Phala-Network/phala-cloud/sdks/go
