---## Use this website to generate secrets (256 bit minimum)## https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspxserver:host:0.0.0.0port:9091log:level:debugtheme:dark# This secret can also be set using the env variables AUTHELIA_JWT_SECRET_FILEjwt_secret:"JWT-Secret-gen-1"default_redirection_url:https://DOMAIN.comtotp:disable:falseissuer:authelia.comalgorithm:sha1#sha 256 doesn't work with authydigits:8period:30skew:1secret_size:32duo_api:hostname:api-hostname.duosecurity.com# from your duo dashboardintegration_key:integ-key-from-duo-dashsecret_key:secret-key-from-duo-dashdisable:falseenable_self_enrollment:falsentp:address:"time.cloudflare.com:123"version:4max_desync:3sdisable_startup_check:falsedisable_failure:falseauthentication_backend:file:path:/config/users_database.ymlpassword:algorithm:argon2iditerations:1salt_length:16parallelism:8memory:1024access_control:default_policy:denyrules:## Bypass rules for domains-domain:-"authelia.DOMAIN.com"#otherwise you will be in loop-"subdomain.DOMAIN.com"policy:bypass## Bypass api / triggers-domain:"*.DOMAIN.com"resources:-"^/api([/?].*)?$"-"^/identity.*$"-"^/triggers.*$"-"^/meshagents.*$"-"^/meshsettings.*$"-"^/agent.*$"-"^/control.*$"-"^/meshrelay.*$"-"^/wl.*$"policy:bypass## Catch-all-domain:"*.DOMAIN.com"subject:-"group:admins"policy:two_factorsession:name:authelia_sessiondomain:DOMAIN.comsame_site:laxsecret:"second-secret-key-from-site"expiration:1hinactivity:5mremember_me_duration:2Mredis:host:redis_autheliaport:6379password:redis-password-from-docker-composedatabase_index:0#change if using multiple services off single dbmaximum_active_connections:10minimum_idle_connections:0regulation:max_retries:3find_time:10mban_time:12hstorage:encryption_key:"third-secret-key-from-site"mysql:host:mariadb_autheliaport:3306database:autheliausername:autheliapassword:"mariadb-user-pass-from-docker-compose"notifier:smtp:host:smtp.gmail.comport:587username:[email protected]password:password-from-google-account-dashboardsender:[email protected]
users:my_username:displayname:Display Name# Use this command to generate password# docker run --rm authelia/authelia:latest authelia hash-password 'authelia'# Password is Autheliapassword:"$argon2id$v=19$m=65536,t=1,p=8$cUI4a0E3L1laYnRDUXl3Lw$ZsdsrdadaoVIaVj8NltA8x4qVOzT+/r5GF62/bT8OuAs"email:[email protected]#reset password links are sent heregroups:-admins-dev