Home/Security Architecture
Section 7 of 1937% complete

Section 7: Security Architecture

Trust Boundaries

Boundary Protection
Edge (Internet)Cloudflare WAF, DDoS protection
GatewayAuthentication, rate limiting, input validation
Service-to-ServicemTLS (planned), internal network only
Agent-to-Control PlanemTLS certificates, outbound-only
DatabaseTLS, per-service credentials, network isolation

Authentication

  • - JWT-based authentication
  • - Support for passwordless login (planned)
  • - OAuth2 integration (Discord, Google)
  • - API keys for programmatic access

Authorization (RBAC)

Role Scope Permissions
OwnerOrganizationFull control, billing
AdminOrganizationManage users, servers
OperatorServerStart/stop, configure
ViewerServerView status, logs

Secrets Management

Approach: Kubernetes secrets for infrastructure, dedicated Secrets Service for user credentials. No secrets in code or environment variables.