Device lifecycle
Admit a device
Section titled “Admit a device”Choose an unused address inside hub.client_cidr, a tunnel ID (or direct), and a protected output location. The private key goes directly into the profile and is not retained by the hub.
hubctl device add laptop \ --address 10.80.0.2/32 \ --egress corp-egress \ --output ./laptop.confhubctl validatehubctl deploy --confirm-within 5mhubctl confirmChange the internet path
Section titled “Change the internet path”This changes only the selected device’s default egress; private routes stay governed by tunnel routes and zones.
hubctl device set-egress laptop directhubctl deploy --confirm-within 5mhubctl confirmRevoke or recover
Section titled “Revoke or recover”Revoke a lost profile first. Reissue with a fresh profile rather than copying a private key. Reverse only an accidental revocation.
hubctl device revoke laptophubctl device unrevoke laptophubctl device listUse hubctl routes to explain active destination paths. If the revision is unhealthy before confirmation, run hubctl rollback.