Hi all, I add a layer using an authentification config ID using PyQGIS:
uri = QgsDataSourceUri() uri.setConnection(HOST, PORT, DB, None, None, QgsDataSourceUri.SslPrefer, pg_auth_id) In the project, the credentials are written in clear text in the project file: <datasource>dbname='pub' host=geodb.rootso.org port=5432 user='xxxxxx' password='xxxxxx' Is it possible to avoid this? How? Cheers, Denis
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
