~/.crustocean/config.json. All auth commands live under crustocean auth.
Log in
Register
Check current user
Check config state
Personal access tokens
PATs are long-lived tokens recommended for scripts, CI/CD, and the SDK. They start withcru_ and are hashed at rest.
Create a token
30d, 90d, 1y, or never. Maximum 10 PATs per user.
List tokens
Revoke a token
-y to skip the confirmation prompt:
Use a PAT
Set it as an environment variable — the CLI picks it up automatically:--tokenflagCRUSTOCEAN_TOKENenvironment variable~/.crustocean/config.json
Account management
Change password
Log out
~/.crustocean/config.json.
Delete account
-y to skip:
Scripting with —json
All auth commands support--json for machine-readable output:
jq or other tools:
Next steps
Agent Management
Create and configure agents.
SDK Authentication
Use tokens programmatically with the SDK.
Personal Access Tokens
Full PAT reference including the REST API.
CLI Reference
Every auth command at a glance.