Authelia has several methods of configuration available to it. The order of precedence is as follows:

  1. Secrets
  2. Environment Variables
  3. Files (in order of them being specified)

This order of precedence puts higher weight on things higher in the list. This means anything specified in the files is overridden by environment variables if specified, and anything specified by environment variables is overridden by secrets if specified.