Website logo
⌘K
Technical documentation
Installation manuals
Technical requirements
Standard installation on Linux
Standard installation on Windows Server
Manual installation on Linux
Manual installation on Windows Server
Administration
Migration to Passwork 6
How to update Passwork
Configuring background tasks
Mapping LDAP security groups with roles in Passwork
Mobile applications
Configuring SMTP for Windows Server
What to do in case of errors
About config.ini
Emergency mode
Import from Bitwarden via API
API 4.0
Linux
MongoDB
Legacy
Updates
Help center
Docs powered by Archbee
Website logo
Help center
Administration

About config.ini

9min

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

[crypt] section

Shell
secret = ******************************** — database encryption key


[application] section

Shell
domain = [http://passwork.local](http://passwork.local/) — hostname that is substituted in automatically generated links

Shell
noreplyEmail = [noreply@passwork.me](mailto:noreply@passwork.me) — the address on behalf of which notifications come

Shell
lang = en — selection of interface language (deprecated, configured via web-interface)

Shell
csrf = Off — enable/disable csrf checks

Shell
randomPasswordLength = 10; min=8,max=50 — the generated password's legngth. (deprecated, configurable via web-interface)

Shell
globalGroupNames = On — if this option is disabled, then for different users the same vault can be called differently

Shell
forced2fa = Off — forces users to use 2FA (deprecated, configurable via web-interface)

Shell
hash = sha256 — hash algorithm


[ban] section

Shell
time = 180 — ban time

Shell
count = 7 — the number of attempts after which the user enters the ban

Shell
interval = 60 — time after which the number of invalid authentication attempts is reset


[mongo] section

Shell
connectionString = mongodb://localhost:27017 — database connection settings

Shell
dbname = pwbox — database name

Shell
useCreds = false  — the option enables/disables the use of credentials to connect to the database

Shell
username = admin — database user login

Shell
password = password —  database user password


emergency mode (without section)

Shell
emergency = on


Emergency mode is needed if you forget the password of the user who is the owner of Passwork. You can read about using this mode here.

Updated 22 Nov 2023
Did this page help you?
PREVIOUS
Passwork installed on Linux
NEXT
Emergency mode
Docs powered by Archbee
Docs powered by Archbee