Skip to main content

CLI login

servo login opens a browser for interactive authentication on development machines, storing credentials locally in ~/.config/servo/token.json. Set the control-plane URL supplied by your Servo administrator, then sign in:
Login state is stored on the current computer. Pass --base-url to select a different control plane for one command. For headless robot computers (such as remote IPCs accessed over SSH), do not run servo login on the robot. Instead, create an API key on your development computer and export SERVO_API_KEY on the robot.

Robot applications and automation

Python applications and noninteractive CLI commands use an organization API key:
Servo displays the secret once. Store it in the robot computer’s secret manager. The key authorizes the application; the robot’s stable name and rob_* ID identify the physical rig. A robot computer with SERVO_API_KEY set can run servo robot setup without servo login. List and revoke keys with:

Python

Missing or invalid credentials return 401. A valid credential without permission for an operation returns 403.