I run a postgres database with postgis on an external server. To secure the connection to the database i have self singed certificates set up. I added the certificates in QGIS and saved them together with the login credentials to the postgres database in the QGIS Authentification database. For the also on the external server running QGIS-server to be able to connect to the database, i was able to specify enviroment-parameters in the server config pointing to the qgis-auth.db and the masterpassword for the qgis-auth.db safed as .txt. As described here: https://docs.qgis.org/2.14/en/docs/user_manual/auth_system/auth_overview.html
I would also like to use QField and work directly on the postgis Layer with a secure connetction.
Is it possible to use the qgis-auth.db in QField similar to how its done with QGIS-server?