Skip to content

Commit 7a10b0b

Browse files
committed
docs(migration): correct TEE backup-key note — read from config every start, not first-start-only
1 parent 143133c commit 7a10b0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/node-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export BACKUP_ENCRYPTION_KEY=$(cat $MPC_HOME_DIR/backup_encryption_key.hex)
149149

150150
Copy this key and set it as the `BACKUP_ENCRYPTION_KEY` environment variable for the backup-cli when running `get-keyshares`.
151151

152-
> **TEE (TDX/dstack) nodes:** `$MPC_HOME_DIR` (`/data`) is inside the CVM's encrypted disk, so you cannot read the auto-generated `backup_encryption_key.hex`. Set `backup_encryption_key_hex` in the `[mpc_node_config.secrets]` block of the node's user-config **before first start** and keep a copy outside the CVM — that is the key you pass to the backup-cli.
152+
> **TEE (TDX/dstack) nodes:** `$MPC_HOME_DIR` (`/data`) is inside the CVM's encrypted disk, so you cannot read the auto-generated `backup_encryption_key.hex`. Provide the key yourself instead: set `backup_encryption_key_hex` in the `[mpc_node_config.secrets]` block of the node's user-config and keep a copy outside the CVM — that is the key you pass to the backup-cli. The node reads it from the config on every start, so you can add or change it on a running node via `update-user-config` + restart.
153153
154154

155155

0 commit comments

Comments
 (0)