veil login on each machine that needs access, confirm the pairing in your browser, and the CLI stores a scoped key in the OS keychain.
Pairing a machine
Install the CLI and run:Mode coverage
A paired device can hold up to two keys — one for sandbox and one for production. Sandbox is available as soon as you pair. Production requires completing the Go-Live flow first. The CLI picks the right key automatically based on the--mode flag or the active mode set with veil config set mode.
Revoking a device
To revoke a paired device, open Settings → Paired Devices, find the device, and click Revoke. This immediately invalidates every key associated with that device. The next API call from that machine will return an authentication error. The device can be re-paired at any time withveil login.
Headless and CI environments
On headless machines where a browser is unavailable, use--with-token to store a key directly without the browser flow:
See also
- Mode toggle — switching between sandbox and production
- Sandbox vs. production — per-mode key isolation
- Go-Live flow — completing live verification to unlock the production key surface