Security
- Sign-in: every API route needs a session or an API token, except creating the first administrator, signing in and accepting an invitation. Repeated failed attempts from the same address are locked out for a while. Accounts can add a second factor, and the administrator can require it for everyone.
- Roles: every operation checks the caller's role in the workspace it touches, and lists and live updates only carry the workspaces a person belongs to. See Members and roles.
- The console's address: it is published with a Let's Encrypt certificate, and plain HTTP redirects to HTTPS. Orbit only answers requests that come through Traefik with a secret that changes every time Orbit starts, and the firewall keeps its port reachable only from the server and its workloads.
- Agents: they need a client certificate from Orbit's own certificate authority that is not revoked or expired.
- Added servers: their SSH host keys are pinned when you confirm the fingerprint, and every later connection refuses a different key. Pasted private keys live only in memory.
- Secrets at rest: variables marked secret, database passwords, the GitHub App's key and the GitLab and Bitbucket tokens are sealed with AES-256-GCM, with a key kept outside Orbit's database. Passwords are hashed with Argon2id, and session, enrollment and API tokens are stored only as hashes. Orbit's data directory is readable only by root.
- Logs: secrets and common credential patterns are redacted before anything is stored. See Running Orbit.
- Terminals: a shell in an instance or a database needs a signed-in member with the role, never an API token. The activity records who opened and closed which instance; keystrokes and output are never recorded. See Applications.
- Releases: every release is signed. The console refuses to update from a release whose signature does not match the key pinned in the running Orbit.
- Pull request previews: pull requests from forks never run on your servers.