mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-07 10:18:44 -06:00
A remotesapi server running on a cluster replica publishes a JWKS. Every outbound GRPC call the cluster replica makes includes a JWT signed with a private key. remotesapi servers running on cluster replicas require and validate incoming JWTs for cluster traffic. The set of valid signing keys is taken from the JWKSes which are published at /.well-known/jwks.json on the standby replica hosts. It is possible to configure tls_ca on cluster remotesapi to configure the set of trusted roots for outbound TLS connections. Because the JWKSes are served over the same connection, and becuase signed JWTs are not replay resistent, TLS is recommended for all deployment topologies.
go-sql-server-driver
This is a driver and a test suite for tests interacting with dolt sql-server.
These tests describe a setup for the sql-server(s) which should be running, the
interactions which should be run against the servers, and the assertions which
should pass given those interactions.
This is meant to be more declarative and more robust than using bats for
these integration tests.
Something belongs in this package if it primarily tests interactions with the exposed MySQL port on the sql-server.
Something belongs in bats if it primarily tests interactions with the dolt
binary itself. One example for the dolt sql-server command itself would be
testing config validation which results in exit codes or help text displayed.