authd/configuration-example.yml

53 lines
1.4 KiB
YAML
Raw Permalink Normal View History

# Configuration to put in ~/.config/baguette/auth.yml or in /etc/baguette/auth.yml
2024-12-11 13:25:08 +01:00
# Login and password so `authctl` can be authenticated to `authd`.
login: admin
pass: secret
# Path to the log file. By default, everything is just printed on screen.
log_file: /var/log/baguette/auth.log
2024-12-11 13:25:08 +01:00
# In case you have a special `mailer` application.
# Read the manual to understand how it is invoked.
mailer_exe: /usr/local/bin/my-special-mailer
# File used as password to encrypt user passwords.
secret_key_file: /var/authd/password
# Path to the database.
storage_directory: /var/authd/db
# Does symlinks have to be recreated each time the app starts?
#recreate_indexes: false
# Are registrations open? Does it require an email?
registrations: true
require_email: true
# Name of the email templates for account activation and password recovery.
activation_template: netlibre-email-activation
recovery_template: netlibre-email-recovery
# Read-only user profile keys (to prevent modification from third-parties).
#read_only_profile_keys: []
# IPC wake-up timer, see libipc(7).
#ipc_timer: 30000 # 30 seconds
# Name of the `authd` IPC service.
#service_name: auth
2024-12-11 13:25:08 +01:00
#
# Verbosity-related options.
#
#verbosity: 4
# By default, print everything except KEEPALIVE messages.
#messages_to_mask: [KEEPALIVE]
2024-12-11 13:25:08 +01:00
#print_password_recovery_parameters: false
# IPC-related messages. By default, only print errors and exceptions.
#ipc_messages_to_show: [ERROR, EXCEPTION]