Hi Kaif
If your Cosmos PostgreSQL database is encrypted using custom keys, typically, you wouldn't need to make any changes on the client side in terms of connection settings.
When connecting to the encrypted database, you would still use the normal connection parameters such as username, password, hostname, and port number. The encryption and decryption processes are managed by the database itself and are transparent to the client application.
As long as you provide the correct authentication credentials (username and password) and connection details, the client application should be able to establish a connection to the encrypted database without any additional configuration or changes on the client side.
Kindly accept answer , if it helps , Thanks! , Good day