Sign in from the Terminal (CLI)
An API key or a device session authenticates the CLI. login sets up a session so init and deploy work without pasting a key each time. npx piezas login # prints a short code, opens app.piezas.ai/device to approve it npx piezas whoami # shows the signed-in tenant and email (exits 1 if logged out)…
An API key or a device session authenticates the CLI. login sets up a session so init and deploy work without pasting a key each time.
npx piezas login # prints a short code, opens app.piezas.ai/device to approve it
npx piezas whoami # shows the signed-in tenant and email (exits 1 if logged out)
npx piezas logout # removes the saved session
The session is revocable — logout, or an Admin revoking it from the console, cuts it off immediately.