Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sovereign, high-performance data protection

Databases

By default, the server runs using a SQLite database, but it can be configured to use a choice of databases: SQLite encrypted, PostgreSQL, MariaDB, MySQL, and Percona XtraDB Cluster, as well as Redis, using the Redis-with-Findex configuration.

KMS server and the database backends it can use

Selecting the database

All databases, except SQLite, can be used in a high-availability setup.

The SQLite database can serve high loads and millions of objects, and is very suitable for scenarios that do not demand high availability.

Connection Workflow

The following sequence diagram illustrates how the Eviden KMS connects to its backing database backend, initializes pools and schema verification, and processes client requests end-to-end:

SQL connection pool: server startup and an end-to-end operation

Configuring the database

The database parameters may be configured either:

Database pages

PageContent
SQLiteDefault backend configuration
PostgreSQLConnection settings and database setup
PostgreSQL high availabilityMulti-host URLs, standby behaviour, HA managers, failover retry
Multi-region active-active PostgreSQLregion_role, leader-only operations, conflict resolution, extension requirements
CRL and Crypto Officer ceremony across regionsCRL endpoints and ceremonies in a multi-region deployment
Multi-region active-active deploymentArchitecture, replication set, convergence, Galera variant
MySQL, MariaDB, or Percona XtraDB ClusterMySQL-compatible backends
Redis with FindexEncrypted Redis backend (non-FIPS only)
TLS / mTLSSecuring PostgreSQL and MySQL connections
Database maintenanceClearing the database, schema migration
The Unwrapped Objects CacheIn-memory cache of unwrapped objects
Database tablesSchema reference