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 login exchanges credentials for an access token.
  • skyport logout revokes the active token.
  • skyport whoami confirms 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_SECRET strong and unique in production.

Next: Configuration

SkyPort

SkyPort Docs

Self-hosted infrastructure platform