Documentation
Everything you need to run Rivergate, connect to it, and operate it — from a first local stack to a Kubernetes deployment.
Start here
Bring up the full stack with Docker Compose, sign in, and store your first secret.
UnderstandCore conceptsOrganizations, projects, environments, identity, and how access is decided.
Learn the platform
Bootstrap administrator, OIDC with Keycloak, sessions, API tokens and recovery.
AnubisSecrets and accessVersions, rollback, roles, scoped policies and machine identities.
AnubisKeys and encryptionEnvelope encryption, the key hierarchy and root-key custody.
AnubisRotation and credentialsKey rotation, replacement schedules and leased PostgreSQL credentials.
AnubisAudit logHash-chained, checkpointed security records and fail-closed reads.
Build and integrate
Authentication, errors, pagination and every route group.
ToolingCommand lineSign in, browse resources and read secrets from a terminal.
ToolingGo SDKA typed client for services and automation written in Go.
KubernetesOperatorWorkload identity and secret delivery with RivergateStore and RivergateSecret.
Run and operate
Compose, Helm, configuration, scaling and upgrades.
ThothObservabilityMetrics, OpenTelemetry, health, alerts and the admin view.
OperateBackup and recoveryWhat to back up, how to restore, and what to do after key compromise.
SecuritySecurity modelThreats, controls and the responsibilities you keep as the operator.
How the pieces fit
| Component | Role | Holds |
|---|---|---|
| API | Stateless Go HTTP service. Authenticates callers, authorizes every request, encrypts and decrypts secrets. | Nothing durable. Scale horizontally. |
| Worker | Background processing: audit checkpoints, key rotation, lease expiry and revocation, static-secret schedules. | Nothing durable. Progress is checkpointed in PostgreSQL. |
| Dashboard | The authenticated product UI (React). Talks only to the public API. | Static assets. |
| PostgreSQL | The durable source of truth. | Tenants, encrypted secret versions, wrapped keys, policies, identities and the audit chain. |
| Redis | Required dependency for readiness and sign-in flow state. | Short-lived, single-use OIDC state only. Never secrets or keys. |
| Key provider | Protects the root of the key hierarchy. | Versioned root-key files, mounted outside the database. |
| CLI, SDK, Operator | Clients of the public API. | No direct database access. |
Conventions
- Uppercase placeholders such as
ORG_IDandSECRET_IDstand for identifiers you supply. - Commands that use
make -C rivergate-deploymentrun from the parent directory that holds the repositories. - Examples use
rivergate.example.comfor a deployed instance and127.0.0.1for the local stack.