[Qgis-developer] PG credentials
Matthias Kuhn
matthias at opengis.ch
Tue Oct 18 09:23:24 PDT 2016
Hi Paolo
On 10/18/2016 06:19 PM, Paolo Cavallini wrote:
> Il 18/10/2016 17:58, Jürgen E. Fischer ha scritto:
>> H Paolo,
>>
>> On Tue, 18. Oct 2016 at 16:44:31 +0200, Paolo Cavallini wrote:
>>> thanks for the feedback. The situation is:
>>> * a qgs project pointing to PostgreSQL, without username and password
>>> * if one inserts the credentials at project startup, these seem to be
>>> remembered upon further opening of the project (unsure about other
>>> projects), even after restarting QGIS.
>>> It seems therefore impossible that QGIS takes it from .pgpass.
>>
>> Entered passwords are cached for the session - but not stored in the layers.
>
> Thanks Jürgen for the clarification. You mean the OS session, not the
> QGIS one, right? Is this documented in the manual?
> All the best.
>
Something else that is able to cache passwords persistently is the auth
system
https://docs.qgis.org/2.14/en/docs/user_manual/auth_system/auth_overview.html
Matthias
More information about the Qgis-developer
mailing list