From 38292a588bae96f99d06c7cb2d84df120279c680 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 11 Aug 2021 21:57:58 +0200 Subject: [PATCH] website/docs: add docs for automated installs Signed-off-by: Jens Langhammer --- ...otsrtap_token.py => 0027_bootstrap_token.py} | 0 website/docs/installation/automated-install.md | 17 +++++++++++++++++ website/sidebars.js | 1 + 3 files changed, 18 insertions(+) rename authentik/core/migrations/{0027_bootsrtap_token.py => 0027_bootstrap_token.py} (100%) create mode 100644 website/docs/installation/automated-install.md diff --git a/authentik/core/migrations/0027_bootsrtap_token.py b/authentik/core/migrations/0027_bootstrap_token.py similarity index 100% rename from authentik/core/migrations/0027_bootsrtap_token.py rename to authentik/core/migrations/0027_bootstrap_token.py diff --git a/website/docs/installation/automated-install.md b/website/docs/installation/automated-install.md new file mode 100644 index 000000000..e1f95d201 --- /dev/null +++ b/website/docs/installation/automated-install.md @@ -0,0 +1,17 @@ +--- +title: Automated install +--- + +To install authentik automatically (skipping the Out-of-box experience), you can use the following environment variables: + +### `AK_ADMIN_PASS` + +Configure the default password for the `akadmin` user. Only read on the first startup. Can be used for any flow executor. + +### `AK_ADMIN_TOKEN` + +:::note +This option has been added in 2021.8 +::: + +Create a token for the default `akadmin` user. Only read on the first startup. The string you specify for this variable is the token key you can use to authenticate yourself to the API. diff --git a/website/sidebars.js b/website/sidebars.js index 635357907..d39a614c1 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -18,6 +18,7 @@ module.exports = { "installation/beta", "installation/configuration", "installation/reverse-proxy", + "installation/automated-install", ], }, {