|Db2 Aktuell conference in Germany|
The secret is in the credentialsRegardless of whether an application is deployed as container to a Kubernetes cluster, as Cloud Foundry app, or is written with Cloud Functions, it always needs to figure out how to connect to the (Db2) database. If the database is provisioned as a service (DBaaS) the related credentials are issued. By binding the service to the app or its components, the application code can extract the connection details from the credentials and access the database.
Depending on the technology the credentials are stored in package bindings (Cloud Functions), in VCAP environment variables (Cloud Foundry), or secrets (Kubernetes).