Create or join a Libretto Cloud organization, store a local session, and issue API keys for cloud runs.
npx libretto.auth signup when you are creating a brand new Libretto Cloud organization:1npx libretto cloud auth signup
~/.libretto/auth.json.auth login when the account already exists:1npx libretto cloud auth login
~/.libretto/auth.json.auth login again to save a fresh local session.1npx libretto cloud auth logout
auth whoami to confirm which Libretto Cloud account the CLI is using:1npx libretto cloud auth whoami
LIBRETTO_API_KEY is set, the CLI prefers that key over the stored session cookie.auth invite from an account that can manage members in the active organization:1npx libretto cloud auth invite teammate@example.com --role member
.env files, CI, or other non-interactive Libretto Cloud runs:1npx libretto cloud auth api-key issue --label laptop-dev
.env file:1LIBRETTO_API_KEY=<issued-key>
1npx libretto cloud auth api-key list
1npx libretto cloud auth api-key revoke <key-id>