Apps
apps-launch-token
Set or rotate the app launch token
Changed onSets the app's launch token, generating one when the body omits it, and returns the plaintext and its hash once. CVMs keep booting with their current compose: update each CVM's requirements.launch_token_hash to the returned hash before its next boot, or it fails closed. Phala Cloud and the node operator can read the token, so it protects only against parties who know the public compose.
post/api/v1/apps/{app_id}/launch-token
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
app_idstring required
Hex app identifier
Request body
Response
New launch token and hash
Changes
- info
endpoint added
- info