Prints the configuration set with the clusterctl install or clusterctl database set commands,

clusterctl database info

See below for the information displayed for each database type.

Field

PKI DB Appliance

External DB

Driver

appliance

postgresql

Host

The IP address of the PKI DB Appliance cluster

The hostname or IP address of the database DBMS.

Port

5432

The port number of the database DBMS.

Name

keycloak

The name of the external database

Username

appliance_db

The username of the external database

Password

****

****

TLS enabled

Yes

Yes if the connection with the external database is TLS-protected;
No otherwise.

TLS server cert

The PEM encoding of the client TLS certificate chain

The PEM encoding of the client TLS certificate chain, when TLS enabled is Yes

For example, when the Cryptographic Security Platform  database is a PKI DB Appliance:

sudo clusterctl database info
Driver: appliance
Host: dbappliance
Port: 5432
Name: keycloak
Username: appliance_db
Password: ****
TLS enabled: Yes
TLS server cert:
 
-----BEGIN CERTIFICATE-----
MIIF+zCCA+OgAwIBAgIEaYrzVDANBgkqhkiG9w0BAQsFADBZMQswCQYDVQQGEwJV
...
dlDnuHmaa2KzAfUZKkHZ04enwRwK675/pzhBLXY06IbaC+57yn0voNfwsqmMsU9B
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIF+zCCA+OgAwIBAgIEaYrzVTANBgkqhkiG9w0BAQsFADBZMQswCQYDVQQGEwJV
...
KJuTsT8NWk7h41oCOJdLdI9rf+oV3eTxcE//GtHJnGjMCViG7sf35uzZAuOyuEY=
-----END CERTIFICATE-----