aboutsummaryrefslogtreecommitdiff
path: root/.env.template
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2019-04-07 18:58:15 +0200
committerDaniel García <[email protected]>2019-04-07 18:58:15 +0200
commit754087b990807535d4635fb0b7e7a7bad8323b79 (patch)
treeacc29fbc58b97ed8cba27ef6cfd6f982027cbead /.env.template
parentcfbeb563719d8aa0bc686d832c746cccdcf71883 (diff)
downloadvaultwarden-754087b990807535d4635fb0b7e7a7bad8323b79.tar.gz
vaultwarden-754087b990807535d4635fb0b7e7a7bad8323b79.zip
Add global duo config and document options in .env template
Diffstat (limited to '.env.template')
-rw-r--r--.env.template15
1 files changed, 15 insertions, 0 deletions
diff --git a/.env.template b/.env.template
index 578d1e93..7892652e 100644
--- a/.env.template
+++ b/.env.template
@@ -112,6 +112,21 @@
# YUBICO_SECRET_KEY=AAAAAAAAAAAAAAAAAAAAAAAA
# YUBICO_SERVER=http://yourdomain.com/wsapi/2.0/verify
+## Duo Settings
+## You need to configure all options to enable Duo support
+## Create an account and protect an application as mentioned in this link (only the first step, not the rest):
+## https://help.bitwarden.com/article/setup-two-step-login-duo/#create-a-duo-security-account
+## Then set the following options, based on the values obtained from the last step:
+# DUO_IKEY=<Integration Key>
+# DUO_SKEY=<Secret Key>
+# DUO_HOST=<API Hostname>
+## The Aplication Key needs to be randomly generated. Recommended at least 40 characters in base64.
+## Example command to generate it: 'openssl rand -base64 48'
+## Note that this shouldn't change between runs.
+# DUO_AKEY=<Application Key>
+## After that, you should be able to follow the rest of the guide linked above,
+## ignoring the fields that ask for the values that you already configured beforehand.
+
## Rocket specific settings, check Rocket documentation to learn more
# ROCKET_ENV=staging
# ROCKET_ADDRESS=0.0.0.0 # Enable this to test mobile app