Secret block

The secret { } block is used to define passwords (or ways to retrieve them) for encrypted database storage.

You refer to these secrets block(s) from set::reputation::db-secret, set::tkldb::db-secret, set::channeldb::db-secret, etc.

This feature only exists in UnrealIRCd 5.0.10+

Password requirements
All passwords must conform to the following password complexity requirements:
 * must be 10 characters or longer
 * must contain at least one lowercase letter
 * must contain at least one uppercase letter
 * must contain at least one digit

Syntax & Examples
The password can be specified directly in the configuration file or fetched from elsewhere.

Directly in the configuration file
This is the easiest, but the least secure method: secret channeldb { password "somepassword"; }

From an external file
secret channeldb { password-file "/home/xyz/secret.txt"; }

Entering on-boot in a terminal
This is the most secure method but requires you to always manually start UnrealIRCd on a terminal (eg via SSH). UnrealIRCd can no longer start automatically on boot and/or via cron if you use this method. secret channeldb { password-prompt; }