aboutsummaryrefslogtreecommitdiff
path: root/.env.template
diff options
context:
space:
mode:
authorPhilipp Kolberg <[email protected]>2024-01-01 08:44:02 -0600
committerGitHub <[email protected]>2024-01-01 15:44:02 +0100
commit98b2178c7d314a0c4f8d85bf4f5396c7704bc88d (patch)
tree623b5d7b421cf6df1084c97ba3f6e1672b6e901b /.env.template
parent76a3f0f531ef0b28b1dc1aefe276a0863f7bbd6d (diff)
downloadvaultwarden-98b2178c7d314a0c4f8d85bf4f5396c7704bc88d.tar.gz
vaultwarden-98b2178c7d314a0c4f8d85bf4f5396c7704bc88d.zip
Allow customizing the featureStates (#4168)
* Allow customizing the featureStates Use a comma separated list of features to enable using the FEATURE_FLAGS env variable * Move feature flag parsing to util * Fix formatting * Update supported feature flags * Rename feature_flags to experimental_client_feature_flags Additionally, use a caret (^) instead of an exclamation mark (!) to disable features * Fix formatting issue. * Add documentation to env template * Remove functionality to disable feature flags * Fix JSON key for feature states * Convert error to warning when feature flag is unrecognized * Simplify parsing of feature flags * Fix default value of feature flags in env template * Fix formatting
Diffstat (limited to '.env.template')
-rw-r--r--.env.template11
1 files changed, 11 insertions, 0 deletions
diff --git a/.env.template b/.env.template
index 3c177a26..ee781619 100644
--- a/.env.template
+++ b/.env.template
@@ -390,6 +390,17 @@
## In any case, if a code has been used it can not be used again, also codes which predates it will be invalid.
# AUTHENTICATOR_DISABLE_TIME_DRIFT=false
+## Client Settings
+## Enable experimental feature flags for clients.
+## This is a comma-separated list of flags, e.g. "flag1,flag2,flag3".
+##
+## The following flags are available:
+## - "autofill-overlay": Add an overlay menu to form fields for quick access to credentials.
+## - "autofill-v2": Use the new autofill implementation.
+## - "browser-fileless-import": Directly import credentials from other providers without a file.
+## - "fido2-vault-credentials": Enable the use of FIDO2 security keys as second factor.
+## EXPERIMENTAL_CLIENT_FEATURE_FLAGS=fido2-vault-credentials
+
## Rocket specific settings
## See https://rocket.rs/v0.4/guide/configuration/ for more details.
# ROCKET_ADDRESS=0.0.0.0