CLI reference
storeenv recover
Restore your identity on this device from the recovery phrase.
zsh
$ cd ~/code/my-app$ storeenv recoverIdentity restored fingerprint SE:0221-C9D2-646EDevice registered "ada-laptop" (encrypted file)Signing key SIG:2665-E48D-4353 certified by your recovery phraseDevices on your account: 2 (review: storeenv device ls)
$ storeenv recover
Good to know
- Reads the 24 words from a hidden prompt (or STOREENV_RECOVERY_PHRASE, which is removed from the environment as soon as it is read).
- Without the phrase and without any enrolled device your encrypted data can't be recovered; teammates can share project secrets with a new identity.
Related commands
Global flags
--project <value> | Project as <namespace/name> or its id (default: .storeenv.json, then this repository's remotes). |
--env <value> | Environment name. |
--json | Machine readable output. |
--yes, -y | Skip confirmations. |
--color | Coloured output (--no-color to turn off). Default: true. |
--verbose | Show debug details. |
--api <value> | API base URL of a self-hosted StoreEnv. |
--trust-writer <value> | Trust a writer for this run: @login=SE:XXXX-XXXX-XXXX. |
--allow-unsigned | pull and diff: use values that aren't signed by a trusted writer, after you confirm on a terminal (or with STOREENV_ALLOW_UNSIGNED=1). Never applies to run or copy. |