Skip to main content
Use the authentication commands before running LibOps API workflows:
login opens the same browser login flow used by the dashboard, including Login with Google. The CLI listens on a temporary localhost callback URL, stores OAuth credentials in ~/.sitectl/oauth.json, and can create a saved API key for sustained access.

whoami and profile setup

whoami reports the active account, token/API-key state, GitHub username, and LibOps SSH key status:
Set account profile fields from the CLI:
For checkout and SSH workflows, set your GitHub username and add the same public SSH key to both GitHub and LibOps.

API keys

Use API keys for non-interactive or long-lived access:
The LibOps plugin checks for a saved API key before falling back to OAuth credentials.

SSH keys