API proxy for Convox racks with SSO, RBAC, and audit logging
open sourceApache-2.0self-hostablefree
Rack Gateway is a self-hosted proxy that sits in front of a Convox rack's API, so people sign in with Google Workspace OAuth instead of sharing the rack's root API key. It checks every request against roles (viewer, ops, deployer, admin, plus a CI/CD role for API tokens), asks for MFA (WebAuthn, TOTP, YubiKey OTP, backup codes) on sensitive actions, and can hold CI deploys for manual approval. Every action goes into an append-only Postgres audit log, chained with HMAC-SHA256 and anchored hourly to an S3 bucket with Object Lock, with env var values redacted. It has a web UI for users, tokens, audit logs and approvals, and a rack-gateway CLI that wraps Convox commands across several racks; the standard Convox CLI works through it too. The README calls it a community edition of the hosted Convox Console; it isn't affiliated with Convox, Inc.
Problems it solves
- everyone on the team deploys to our Convox rack with the same shared root API key
- SOC 2 auditors want to know who ran which command against production, and we can't tell
- give developers read-only access to production logs without letting them deploy or exec
- require a security key touch before anyone execs into a production container
- CI should need a human to approve before it promotes a release to production
- an audit log of production access that nobody can quietly edit or delete afterwards
- environment variable secrets show up in plain text in our deploy audit trail
- the hosted Convox Console is more than we need, and we want SSO and RBAC on our own infrastructure
- sign in to our self-hosted PaaS with Google Workspace accounts restricted to our domain
- switch between staging, US and EU clusters from one CLI without juggling tokens
- revoke one engineer's production access without rotating the key for everyone
- alert when someone keeps getting denied by production access controls
Features
- Google Workspace OAuth with domain restriction
- roles: viewer, ops, deployer, admin, cicd
- MFA with WebAuthn, TOTP, YubiKey OTP and backup codes, with step-up for sensitive actions
- deploy approvals for CI/CD builds, releases and promotes
- append-only audit log chained with HMAC-SHA256, anchored hourly to S3 Object Lock
- secret redaction in env vars and query strings
- web UI for users, API tokens, audit logs, settings, integrations and approvals
- multi-rack CLI with browser login
- works with the native Convox CLI through RACK_URL
- JSON request logs for CloudWatch metric filters
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has single sign-on | plan not known |