Docs
Live demo

Supported versions

The versions of each target that Principal is tested on, and the versions it refuses when you add a target.

On this page

Each release of Principal is tested on the versions in the table. For ClickHouse, MongoDB and Kubernetes the test of the connection also reads the version of the server and refuses an older one. PostgreSQL and SSH hosts have no such check: an untested version connects, but nobody has tested it.

Target Tested on Refused
PostgreSQL
15, 16, 17
—
MariaDB
10.11, 11.4, 11.8
Apply on other versions
MySQL
—
Any version
ClickHouse
24.10, 26.3
Older than 24.10
MongoDB
7.0, 8.0
Older than 7.0
Kubernetes
1.34, 1.36
Older than 1.20
SSH hosts
Debian 12
Hosts without the tools below

What Principal’s own account on each target needs is in Prepare a target.

PostgreSQL#

Principal is tested on PostgreSQL 15, 16 and 17, and on Amazon RDS for PostgreSQL 16. Managed PostgreSQL works through its master user, as described in Prepare a target.

On PostgreSQL 16 and later Principal also manages the INHERIT and SET options of role memberships. Earlier versions have no such options.

MariaDB#

Principal is tested on MariaDB 10.11, 11.4 and 11.8. The test of the connection passes on other versions, but the Apply window of a rule shows Apply is blocked: This access preview supports MariaDB 10.11, 11.4 and 11.8. Before each Apply, Principal reads what access the change removes and which sessions it closes, and it can read this only on these versions.

The server must have lower_case_table_names set to 0 or 1.

MySQL#

Principal does not support MySQL. The test of the connection stops with This server isn’t MariaDB. Principal supports MariaDB servers only. The target type is called MySQL / MariaDB in the console, but it works with MariaDB only.

ClickHouse#

Principal needs ClickHouse 24.10 or later and is tested on 24.10 and 26.3. On a cluster the test of the connection checks every replica, and one older replica stops it: This ClickHouse version is too old. Principal needs ClickHouse 24.10 or later.

The user of Principal must be stored in SQL (the local_directory storage). Replicated access storage is not supported.

MongoDB#

Principal needs MongoDB 7.0 or later, with authorization turned on, and is tested on 7.0 and 8.0, on one server and on a replica set. An older server stops the test of the connection with Principal needs MongoDB 7.0 or later.

A sharded cluster passes the test of the connection through mongos, but it is not tested. MongoDB Atlas manages database users through its own API, so Principal can only observe an Atlas cluster.

Kubernetes#

Principal needs Kubernetes 1.20 or later and does not connect to an older cluster. It is tested on Kubernetes 1.34, including a Deckhouse cluster, and on the API server of Kubernetes 1.36.

SSH hosts#

Principal manages Linux hosts with OpenSSH and does not check the version of the system or of OpenSSH. It is tested on Debian 12. The test of the connection checks that the host has what Principal uses:

  • The account of Principal runs commands as root through sudo without a password.
  • useradd, usermod, userdel, groupadd, getent, visudo, pkill, pgrep, base64, sha256sum, mktemp, install, runuser and sshd are installed.
  • /etc/ssh/sshd_config includes /etc/ssh/sshd_config.d/*.conf.
↑ ↓ to moveEnter to openEsc to close