Rivergate

Core concepts

The ideas behind Rivergate: who owns what, how access is decided, and how secrets are stored and changed over time.

The resource hierarchy

A single Rivergate deployment hosts any number of independent companies or teams. Everything is organized in one tree, and every request is scoped to a position in it.

Deployment
└── Organization        tenant boundary: members, policies, audit, keys
    └── Project         an application or product
        └── Environment development, staging, production…
            └── Secret
                └── Secret version   immutable, encrypted
ResourceWhat it representsOwns
OrganizationThe tenant boundary — a company, business unit or independently administered customer.Members, policies, projects, audit scope and its own cryptographic boundary.
ProjectAn application, service or product inside one organization.Environments and a project encryption key.
EnvironmentA deployment context such as staging or production.Secrets.
SecretA named value with a type, tags, description and optional expiry.Immutable versions.
Secret versionOne historical value, encrypted with its own data key.Ciphertext and wrapped key material.

Tenant isolation

Identity is separate from authorization

These two questions are answered by different systems.

QuestionAnswered by
Who is this person?Your OIDC provider (Keycloak recommended). Rivergate keys each identity on the exact (issuer, subject) pair.
What may they do here?Rivergate: its own memberships, roles and scoped policies, evaluated on the backend for every request.

OIDC groups, email addresses and frontend claims never grant access. A newly authenticated, unmapped identity has no permissions until an administrator grants some. One Keycloak realm can serve many Rivergate organizations; the organization, not the realm, is the tenant boundary.

Read more in Authentication and Secrets and access.

Secrets and versions

Two capabilities, one platform

AnubisSecrets and key management

Tenant-scoped storage, encrypted versions, policy checks, key hierarchy and rotation, leased credentials, and the audit log.

ThothObservability

Metrics, traces, logs and health for Rivergate itself, kept separate from the security audit log.

They are two parts of one product and one dashboard, not separate services.

What lives where

StoreContainsNever contains
PostgreSQLTenants, encrypted secret versions, wrapped keys, policies, identities, session and token verifiers, audit records.Plaintext secrets or root key material.
RedisShort-lived, single-use, encrypted OIDC sign-in state.Secrets, keys, tokens or audit records.
Key directoryVersioned root-key files, outside the database.—
Worker key fileThe audit checkpoint signing key.—

Where to go next