CLI reference
storeenv device
Manage enrolled devices: ls, approve <code>, deny <code>, rm <name>.
zsh
$ cd ~/code/my-app$ storeenv device lsDEVICE TYPE KEY LOCATION LAST SEENBrowser browser yes 127.0.x.x just nowada-laptop cli encrypted file 127.0.x.x just now this device2 active sessions (1 CLI, 1 browser)
$ storeenv device <action> [target]
Arguments
<action> | list devices, approve or deny a new device by its code, or remove one by name. One of: ls, approve, deny, rm. |
<target> | Approval code or device name. |
Flags
--device-key <value> | The device key shown on the new device (SE:XXXX-XXXX-XXXX). |
Good to know
- A new device shows a code and a device key. Approve it from an enrolled device with storeenv device approve <code> --device-key <key>, or in the web app.
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. |