YAML examples for MySQL
MySQL target with SSL verification
yaml- target: mysql-prod type: MYSQL name: Production MySQL host: db.internal.example.com port: '3306' database: production ssl_mode: VERIFY_FULL ca_certificate: | -----BEGIN CERTIFICATE----- <paste the CA that signed the server certificate here> -----END CERTIFICATE----- auth: username: admin password: secured
With Proxy
yaml- target: mysql-behind-bastion type: MYSQL name: MySQL in a private network host: db.internal.example.com port: '3306' database: production ssl_mode: REQUIRE proxy: ssh-bastion auth: username: admin password: secured
Minimal
yaml- target: mysql type: MYSQL host: db.internal.example.com auth: username: admin password: secured