Skip to content

Commit 7c889e8

Browse files
committed
Add documentation for client certificate authentication
1 parent 65d99bd commit 7c889e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ The following environment variables are used by migration script:
7373
* `TARGET_SERVICE_URI` - service URI to the target MySQL database with admin credentials, which will be used for dump import.
7474
* `TARGET_MASTER_SERVICE_URI` - service URI for managing replication while migrating, omitting this variable will
7575
lead to fall-back to dump solution.
76+
* `MYSQL_CONNECTION_TIMEOUT` - MySQL connect_timeout (default: 5 seconds)
77+
* `MYSQL_WRITE_TIMEOUT` - MySQL write_timeout (default: 5 seconds)
78+
* `MYSQL_READ_TIMEOUT` - MySQL read_timeout (default: 5 seconds)
79+
SOURCE_SSL_* are optional, when provided it uses client certificate authentication.
80+
* `SOURCE_SSL_CA` - The path name of the Certificate Authority (CA) certificate file in PEM format.
81+
* `SOURCE_SSL_CERT` - The path name of the server SSL public key certificate file in PEM format.
82+
* `SOURCE_SSL_KEY` - The path name of the server SSL private key file in PEM format.
83+
84+
7685

7786
Environment variable are used here instead of usual arguments so that it's not possible to see credentials in the list
7887
of long-running processes. As for the `mysqldump/mysql` subprocesses they won't be visible, because they are hidden by

0 commit comments

Comments
 (0)