DB2 Authentication¶
Qualytics signs in to DB2 with a user name and password, through the IBM DB2 JDBC driver. Every query runs as that user, so DB2 uses its grants to decide what Qualytics may read or write (see Permissions).
User and Password¶
Fill in User and Password in the Connection Properties section of the connection form. Use a dedicated account for Qualytics, so its grants and its sign-ins are easy to tell apart from people's.
DB2 does not keep its own user list: it checks the user name and password against the operating system or LDAP account of the same name. Create or reset the Qualytics account there, not inside the database.
Note
A wrong password, a misspelled user, or an account the DB2 server cannot find fails with SQL30082N: Security processing failed. See Troubleshooting.
Encrypted Connections¶
If your DB2 server requires encrypted connections, turn on SSL Connection in the connection form. Qualytics then opens a TLS-encrypted connection to the DB2 instance.
If the server presents a certificate Qualytics does not already trust, paste its signing chain into TLS Certificate Chain, in the collapsed Advanced section of the same form. Supplying a chain encrypts the connection on its own, so you do not need to turn on SSL Connection as well. See Certificate and TLS Errors for what to include.
Credentials from a secrets manager
The User and Password fields can take their values from HashiCorp Vault or another secrets manager instead of being typed in: turn on Secrets Management on the connection and write ${key} in the field. See the HashiCorp Vault pages for setup and troubleshooting.