W
WorkOS CLI
Details
- Command
-
workos - Docs
- https://workos.com/docs/authkit/cli-installer
Authentication
WorkOS CLI login session oauth2 discovered
$ workos auth login Acquired by the CLI — running workos auth login opens the auth flow and stores the credential.
env WORKOS_API_KEY /$ workos --api-key <api_key> ... In the WorkOS Dashboard API Keys page, create or copy an environment API key (sk_test_... or sk_live_...). For zero-account temporary environments, you can also provision one automatically by running `npx workos@latest install` or by calling `POST /x/one-shot-environments`; that returns an apiKey you can use immediately.