Administration
Security

About config.ini

12min

The config.ini configuration file is located in the following directories:

  • Linux — /var/www/app/config/config.ini
  • Windows Server — C:\inetpub\wwwroot\passwork\app\config\config.ini
  • Docker — /<passwork>/conf/keys/config.ini

If you did not find the parameter you are interested in, then it is configured directly through the web interface or is deprecated.

[crypt] section Lists your database encryption key:

Shell


[application] section

Hostname that is used in automatically generated links:

Shell


An email address from which notifications are sent:

Shell


Interface language selector (deprecated, configured via web-interface):

Shell


Toggle CSRF checks:

Shell


Length of generated passwords (deprecated, configurable via web-interface):

Shell


Setting this to Off will let users name the same vault using different names:

Shell


Force users to use 2FA (deprecated, configurable via web-interface):

Shell


Hash algorithm:

Shell


[ban] section

If a user makes several failed authentication attempts in a row, they will be banned for a set period of time.

Ban time (in seconds):

Shell


The number of attempts after which the user gets banned:

Shell


Time after which the number of invalid authentication attempts is reset (in seconds):

Shell


[mongo] section

Database connection settings:

Shell


Database name:

Shell


Toggle the use of credentials to connect to the database:

Shell


Database user login:

Shell


Database user password:

Shell


Emergency mode

Emergency mode can be used to restore access to Passwork if the owner forgets their password. You can read about using this mode here.

Shell