Reference
Authentication
CLI and API authentication in SkyPort.
SkyPort uses authenticated API requests for remote operations. The CLI logs into a selected server profile and stores the token locally.
CLI Login
terminal
skyport login
skyport whoami
Session Handling
skyport loginexchanges credentials for an access token.skyport logoutrevokes the active token.skyport whoamiconfirms the authenticated user.
Operator Guidance
- Use separate server profiles for separate environments.
- Avoid sharing one long-lived token across unrelated systems.
- Keep the backend
JWT_SECRETstrong and unique in production.
Next: Configuration
