Modifies the database configuration.

clusterctl database set --host <host> --port <port> --name <name> --username <username> [--password <password>] [--ca-certificate <ca-certificate>]

See below for a description of each parameter.

--host <host>

Select the DBMS with the <host> domain name or IP address.

Mandatory: Yes.

--port <port>

Connect to the DBMS using the <port> port.

Mandatory: Yes.

--name <name>

Select the database with the <name> name.

Mandatory: Yes.

--username <username>

Authenticate in the database as the basic auth user with the <username> username.

Mandatory: Yes.

--password <password>

Authenticate in the database with the <password> user password.

Mandatory: No. This value is prompted to the user when omitted. 

--tls-enabled <yes|no>

yes to enable TLS security in the connections with the database; no otherwise.

Mandatory: Yes.

--ca-certificate <ca-certificate>

Validate the TLS certificate of the DBMS using <ca-certificate>, where <ca-certificate> is the path to a PEM-encoded certificate file.

Mandatory: When enabling TLS.