docs: add alert for configuration sections (#5380)

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
pull/5381/head
James Elliott 2023-05-04 21:23:15 +10:00 committed by GitHub
parent 495cc912c2
commit 4ba1b6465a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 100 additions and 2 deletions

View File

@ -16,6 +16,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
authentication_backend: authentication_backend:
file: file:
@ -54,6 +56,8 @@ authentication_backend:
## Options ## Options
This section describes the individual configuration options.
### path ### path
{{< confkey type="string" required="yes" >}} {{< confkey type="string" required="yes" >}}

View File

@ -23,6 +23,8 @@ There are two ways to integrate *Authelia* with an authentication backend:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
authentication_backend: authentication_backend:
refresh_interval: 5m refresh_interval: 5m
@ -33,6 +35,8 @@ authentication_backend:
## Options ## Options
This section describes the individual configuration options.
### refresh_interval ### refresh_interval
{{< confkey type="duration" default="5m" required="no" >}} {{< confkey type="duration" default="5m" required="no" >}}

View File

@ -17,6 +17,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
authentication_backend: authentication_backend:
ldap: ldap:
@ -113,6 +115,8 @@ authentication_backend:
## Options ## Options
This section describes the individual configuration options.
### implementation ### implementation
{{< confkey type="string" default="custom" required="no" >}} {{< confkey type="string" default="custom" required="no" >}}

View File

@ -28,7 +28,7 @@ More information about the beta can be found in the [roadmap](../../roadmap/acti
## Configuration ## Configuration
The following snippet provides a sample-configuration for the OIDC identity provider explaining each field in detail. {{< config-alert-example >}}
```yaml ```yaml
identity_providers: identity_providers:
@ -147,6 +147,8 @@ identity_providers:
## Options ## Options
This section describes the individual configuration options.
### hmac_secret ### hmac_secret
{{< confkey type="string" required="yes" >}} {{< confkey type="string" required="yes" >}}

View File

@ -17,6 +17,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
certificates_directory: /config/certs/ certificates_directory: /config/certs/
default_redirection_url: https://home.example.com:8080/ default_redirection_url: https://home.example.com:8080/

View File

@ -18,6 +18,8 @@ The logging section tunes the logging settings.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
log: log:
level: info level: info

View File

@ -23,6 +23,8 @@ unless configured otherwise.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
ntp: ntp:
address: "time.cloudflare.com:123" address: "time.cloudflare.com:123"

View File

@ -14,6 +14,8 @@ toc: true
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
privacy_policy: privacy_policy:
enabled: false enabled: false

View File

@ -16,6 +16,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
server: server:
endpoints: endpoints:

View File

@ -17,6 +17,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
server: server:
host: 0.0.0.0 host: 0.0.0.0

View File

@ -21,6 +21,8 @@ This method will use the plain text email template for readability purposes.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
notifier: notifier:
disable_startup_check: false disable_startup_check: false
@ -30,6 +32,8 @@ notifier:
## Options ## Options
This section describes the individual configuration options.
### filename ### filename
{{< confkey type="string" required="yes" >}} {{< confkey type="string" required="yes" >}}

View File

@ -16,6 +16,8 @@ Authelia sends messages to users in order to verify their identity.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
notifier: notifier:
disable_startup_check: false disable_startup_check: false
@ -26,6 +28,8 @@ notifier:
## Options ## Options
This section describes the individual configuration options.
### disable_startup_check ### disable_startup_check
{{< confkey type="boolean" default="false" required="no" >}} {{< confkey type="boolean" default="false" required="no" >}}

View File

@ -17,6 +17,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
notifier: notifier:
disable_startup_check: false disable_startup_check: false
@ -109,6 +111,8 @@ notifier:
## Options ## Options
This section describes the individual configuration options.
### host ### host
{{< confkey type="integer" required="yes" >}} {{< confkey type="integer" required="yes" >}}

View File

@ -184,7 +184,8 @@ especially for containerized deployments.*
The private key to be used with the [certificate_chain](#certificatechain) for mutual TLS authentication. The private key to be used with the [certificate_chain](#certificatechain) for mutual TLS authentication.
The value must be one private key encoded in the DER base64 ([RFC4648]) encoded PEM format. The value must be one private key encoded in the DER base64 ([RFC4648]) encoded PEM format. If more than one certificate
is provided, in top down order, each certificate must be signed by the next certificate if provided.
[RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648 [RFC4648]: https://datatracker.ietf.org/doc/html/rfc4648

View File

@ -25,6 +25,8 @@ section of the configuration.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
duo_api: duo_api:
disable: false disable: false
@ -36,6 +38,8 @@ duo_api:
## Options ## Options
This section describes the individual configuration options.
### Disable ### Disable
{{< confkey type="boolean" default="false" required="no" >}} {{< confkey type="boolean" default="false" required="no" >}}

View File

@ -26,6 +26,8 @@ and many only support SHA1.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
totp: totp:
disable: false disable: false
@ -39,6 +41,8 @@ totp:
## Options ## Options
This section describes the individual configuration options.
### disable ### disable
{{< confkey type="boolean" default="false" required="no" >}} {{< confkey type="boolean" default="false" required="no" >}}

View File

@ -16,6 +16,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
webauthn: webauthn:
disable: false disable: false
@ -27,6 +29,8 @@ webauthn:
## Options ## Options
This section describes the individual configuration options.
### disable ### disable
{{< confkey type="boolean" default="false" required="no" >}} {{< confkey type="boolean" default="false" required="no" >}}

View File

@ -17,6 +17,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
access_control: access_control:
default_policy: deny default_policy: deny
@ -57,6 +59,8 @@ access_control:
## Options ## Options
This section describes the individual configuration options.
### default_policy ### default_policy
{{< confkey type="string" default="deny" required="no" >}} {{< confkey type="string" default="deny" required="no" >}}

View File

@ -18,6 +18,8 @@ aliases:
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
password_policy: password_policy:
standard: standard:
@ -35,6 +37,8 @@ password_policy:
## Options ## Options
This section describes the individual configuration options.
### standard ### standard
This section allows you to enable standard security policies. This section allows you to enable standard security policies.

View File

@ -20,6 +20,8 @@ authentication attempts. This helps prevent brute-force attacks.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
regulation: regulation:
max_retries: 3 max_retries: 3
@ -29,6 +31,8 @@ regulation:
## Options ## Options
This section describes the individual configuration options.
### max_retries ### max_retries
{{< confkey type="integer" default="3" required="no" >}} {{< confkey type="integer" default="3" required="no" >}}

View File

@ -20,6 +20,8 @@ the session cookie behaviour and the domains which Authelia can service authoriz
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
session: session:
secret: insecure_session_secret secret: insecure_session_secret
@ -56,6 +58,8 @@ providers are recommended.
## Options ## Options
This section describes the individual configuration options.
### secret ### secret
{{< confkey type="string" required="yes" >}} {{< confkey type="string" required="yes" >}}

View File

@ -20,6 +20,8 @@ this option and we highly recommend it in production environments. It requires y
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
session: session:
redis: redis:
@ -119,6 +121,8 @@ session:
## Options ## Options
This section describes the individual configuration options.
### host ### host
{{< confkey type="string" required="yes" >}} {{< confkey type="string" required="yes" >}}

View File

@ -21,6 +21,8 @@ The available storage backends are listed in the table of contents below.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
storage: storage:
encryption_key: a_very_important_secret encryption_key: a_very_important_secret
@ -31,6 +33,8 @@ storage:
## Options ## Options
This section describes the individual configuration options.
### encryption_key ### encryption_key
{{< confkey type="string" required="yes" >}} {{< confkey type="string" required="yes" >}}

View File

@ -22,6 +22,8 @@ guide for supported version information.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
storage: storage:
encryption_key: a_very_important_secret encryption_key: a_very_important_secret
@ -108,6 +110,8 @@ storage:
## Options ## Options
This section describes the individual configuration options.
### encryption_key ### encryption_key
See the [encryption_key docs](introduction.md#encryption_key). See the [encryption_key docs](introduction.md#encryption_key).

View File

@ -21,6 +21,8 @@ guide for supported version information.
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
storage: storage:
encryption_key: a_very_important_secret encryption_key: a_very_important_secret
@ -107,6 +109,8 @@ storage:
## Options ## Options
This section describes the individual configuration options.
### encryption_key ### encryption_key
See the [encryption_key docs](introduction.md#encryption_key). See the [encryption_key docs](introduction.md#encryption_key).

View File

@ -24,6 +24,8 @@ but this requires you setup an external database such as [PostgreSQL](postgres.m
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
storage: storage:
encryption_key: a_very_important_secret encryption_key: a_very_important_secret
@ -33,6 +35,8 @@ storage:
## Options ## Options
This section describes the individual configuration options.
### encryption_key ### encryption_key
See the [encryption_key docs](introduction.md#encryptionkey). See the [encryption_key docs](introduction.md#encryptionkey).

View File

@ -16,6 +16,8 @@ toc: true
## Configuration ## Configuration
{{< config-alert-example >}}
```yaml ```yaml
telemetry: telemetry:
metrics: metrics:
@ -32,6 +34,8 @@ telemetry:
## Options ## Options
This section describes the individual configuration options.
### enabled ### enabled
{{< confkey type="boolean" default="false" required="no" >}} {{< confkey type="boolean" default="false" required="no" >}}

View File

@ -0,0 +1,7 @@
<div class="alert alert-warning d-flex" role="alert">
<div class="flex-shrink-1 alert-icon">⚠️</div>
<div class="w-100">
This section is intended as an example configuration to help users with a rough contextual layout of this configuration section, it is <b>not</b> intended to explain the <a class="alert-link" href="#options">options</a>.
The configuration shown may not be a valid configuration, and you should see the <a class="alert-link" href="#options">options section</a> below and the navigation links to properly understand each option individually.
</div>
</div>