Command: phala envs
Syntax
Description
Encrypt and update CVM sealed environment variablesGlobal Options
| Option | Description |
|---|---|
-h, --help | Show help information for the current command |
-v, --version | Show CLI version |
--api-token TOKEN, --api-key TOKEN | API token used for authentication |
-j, --json, --no-json | Output in JSON format |
--api-version <value> | API version to use (e.g. 2025-10-28, 2026-01-21) |
Subcommands
| Command | Description |
|---|---|
encrypt | Encrypt environment variables for a CVM (sealed, only readable inside TEE) |
update | Encrypt and push sealed environment variables to a CVM (only readable inside TEE) |
Examples
- Display help:

