Clarify docs around configuration files and disabling the master password.
parent
d90136d93d
commit
caf181d5e3
|
@ -45,11 +45,15 @@ are as follows:
|
|||
|
||||
* ``config_distro.py``: This file is read after ``config.py`` and is intended for
|
||||
packagers to change any settings that are required for their pgAdmin distribution.
|
||||
This may typically include certain paths and file locations.
|
||||
This may typically include certain paths and file locations. This file is optional,
|
||||
and may be created by packagers in the same directory as ``config.py`` if
|
||||
needed.
|
||||
|
||||
* ``config_local.py``: This file is read after ``config_distro.py`` and is intended
|
||||
for end users to change any default or packaging specific settings that they may
|
||||
wish to adjust to meet local preferences or standards.
|
||||
wish to adjust to meet local preferences or standards.This file is optional,
|
||||
and may be created by users in the same directory as ``config.py`` if
|
||||
needed.
|
||||
|
||||
.. note:: If the SERVER_MODE setting is changed in ``config_distro.py`` or ``config_local.py``,
|
||||
you will most likely need to re-set the LOG_FILE, SQLITE_PATH, SESSION_DB_PATH
|
||||
|
|
|
@ -4,35 +4,49 @@
|
|||
`Master Password`:index:
|
||||
************************
|
||||
|
||||
A master password is required to secure and later unlock the saved server passwords. This is applicable only for desktop mode users.
|
||||
A master password is required to secure and later unlock the saved server
|
||||
passwords. This is applicable only for desktop mode users.
|
||||
|
||||
* You are prompted to enter the master password when you open the window for the first time after starting the application.
|
||||
* Once you set the master password, all the existing saved passwords will be re-encrypted using the master password.
|
||||
* The server passwords which are saved in the SQLite DB file are encrypted and decrypted using the master password.
|
||||
* You are prompted to enter the master password when you open the window for
|
||||
the first time after starting the application.
|
||||
* Once you set the master password, all the existing saved passwords will be
|
||||
re-encrypted using the master password.
|
||||
* The server passwords which are saved in the SQLite DB file are encrypted and
|
||||
decrypted using the master password.
|
||||
|
||||
.. image:: images/master_password_set.png
|
||||
:alt: Set master password
|
||||
:align: center
|
||||
|
||||
* You can disable the master password by setting the configuration parameter *MASTER_PASSWORD_REQUIRED=False*
|
||||
* Note that, if master password is disabled, then all the saved passwords will be removed.
|
||||
* You can disable the master password by setting the configuration parameter
|
||||
*MASTER_PASSWORD_REQUIRED=False*. See :ref:`Desktop Deployment <desktop_deployment>`
|
||||
for more information.
|
||||
|
||||
.. warning:: If master password is disabled, then the saved passwords will be encrypted using a key
|
||||
which may not be as secure as master password. It is strongly recommended to use master password if you use "Save password" option.
|
||||
.. note:: If the master password is disabled, then all the saved passwords will
|
||||
be removed.
|
||||
|
||||
* The master password is not stored anywhere on the physical storage. It is temporarily stored in the application memory and it does not get saved in case the application gets restarted.
|
||||
* You are prompted to enter the master password when pgAdmin server is restarted.
|
||||
.. warning:: If master password is disabled, then the saved passwords will be
|
||||
encrypted using a key which may not be as secure as master password. It is
|
||||
strongly recommended to use master password if you use the *Save Password*
|
||||
option.
|
||||
|
||||
* The master password is not stored anywhere on the physical storage. It is
|
||||
temporarily stored in the application memory and it does not get saved when
|
||||
the application is restarted.
|
||||
* You are prompted to enter the master password when pgAdmin server is
|
||||
restarted.
|
||||
|
||||
.. image:: images/master_password_enter.png
|
||||
:alt: Enter master password
|
||||
:align: center
|
||||
|
||||
|
||||
* If you forget the master password, you can use the "Reset Master Password" button to reset the password.
|
||||
* If you forget the master password, you can use the *Reset Master Password*
|
||||
button to reset the password.
|
||||
|
||||
.. image:: images/master_password_reset.png
|
||||
:alt: Reset master password
|
||||
:align: center
|
||||
|
||||
.. warning:: Resetting the master password will also remove all the saved passwords and close all the existing established
|
||||
connections.
|
||||
.. warning:: Resetting the master password will also remove all saved passwords
|
||||
and close all existing established connections.
|
||||
|
|
|
@ -68,11 +68,15 @@ pgAdmin. These are as follows:
|
|||
|
||||
* ``config_distro.py``: This file is read after ``config.py`` and is intended for
|
||||
packagers to change any settings that are required for their pgAdmin distribution.
|
||||
This may typically include certain paths and file locations.
|
||||
This may typically include certain paths and file locations. This file is optional,
|
||||
and may be created by packagers in the same directory as ``config.py`` if
|
||||
needed.
|
||||
|
||||
* ``config_local.py``: This file is read after ``config_distro.py`` and is intended
|
||||
for end users to change any default or packaging specific settings that they may
|
||||
wish to adjust to meet local preferences or standards.
|
||||
wish to adjust to meet local preferences or standards. This file is optional,
|
||||
and may be created by administrators in the same directory as ``config.py`` if
|
||||
needed.
|
||||
|
||||
Python
|
||||
------
|
||||
|
|
Loading…
Reference in New Issue