MySQL, MariaDB, or Percona XtraDB Cluster
The KMS supports MySQL-compatible databases including MySQL, MariaDB, and Percona XtraDB Cluster.
All use the same configuration with database-type=mysql.
As of version 5.13.0, the KMS schema includes PRIMARY KEY constraints on all tables, making it fully compatible with:
- Percona XtraDB Cluster (with
pxc_strict_mode=ENFORCING) - MariaDB Galera Cluster
- Any MySQL clustering solution requiring PRIMARY KEYs for replication
[db]
database_type = "mysql"
database_url = "mysql://kms_user:kms_password@mysql-server:3306/kms"
For certificate authentication, see MySQL / MariaDB TLS / mTLS.