summaryrefslogtreecommitdiff
path: root/docs/content/configuration/methods/introduction.md
blob: b78691f8a13ea9e3b9bb7721be14788191a51586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: "Methods"
description: "Methods of Configuration."
summary: "Authelia has a layered configuration model. This section describes how to implement configuration."
date: 2022-06-15T17:51:47+10:00
draft: false
images: []
weight: 101100
toc: true
seo:
  title: "" # custom title (optional)
  description: "" # custom description (recommended)
  canonical: "" # custom canonical URL (optional)
  noindex: false # false (default) or true
---

## Layers

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

1. [Secrets](secrets.md)
2. [Environment Variables](environment.md)
3. [Files](files.md) (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](files.md) is overridden by [environment variables](environment.md) if specified, and anything specified by
[environment variables](environment.md) is overridden by [secrets](secrets.md) if specified.

[YAML]: https://yaml.org/