2020-02-29 00:43:59 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: MariaDB
|
|
|
|
parent: Storage backends
|
|
|
|
grand_parent: Configuration
|
|
|
|
nav_order: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
# MariaDB
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
storage:
|
2020-04-11 04:46:07 +00:00
|
|
|
mysql:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 3306
|
|
|
|
database: authelia
|
|
|
|
username: authelia
|
2020-04-23 01:11:32 +00:00
|
|
|
# Password can also be set using a secret: https://docs.authelia.com/configuration/secrets.html
|
2020-04-11 04:46:07 +00:00
|
|
|
password: mypassword
|
2020-02-29 00:43:59 +00:00
|
|
|
```
|
2020-04-23 01:11:32 +00:00
|
|
|
|
|
|
|
## Loading a password from a secret instead of inside the configuration
|
|
|
|
|
|
|
|
Password can also be defined using a [secret](../secrets.md).
|