Skip to main content

lazycloud login

Sign in once on your machine:
Prints a link and a code. Approving the code in the browser signs the CLI in as you, with access to every workspace your account belongs to. An expired code needs a fresh lazycloud login. The credential lives in ~/.lazycloud/config.yaml. CI needs no login step. It reads LAZYCLOUD_TOKEN from your CI secret store and LAZYCLOUD_WORKSPACE for the target workspace. To save an existing environment token in a local profile:
--profile <name> saves the sign-in under a named profile, and --no-activate saves it without switching to it.

lazycloud workspace

LAZYCLOUD_WORKSPACE overrides the stored choice for every command, and --workspace <name> overrides it for one.

lazycloud profile

Profiles hold separate sign-ins. One is active at a time. Switching workspaces within one account does not need a new profile.
LAZYCLOUD_PROFILE=<name> uses a profile for one command.

lazycloud token

The dashboard creates and deletes tokens under Settings, then Tokens. These commands manage only the copy stored in a profile.