From fc5f0a1eb115c07b1ab8fa142586b8cf5eb65b61 Mon Sep 17 00:00:00 2001 From: Jens Kohl Date: Fri, 1 Sep 2023 15:17:56 +0200 Subject: [PATCH] Fix .env configuration of VAULTWARDEN_ADMIN_TOKEN --- Enabling-admin-page.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Enabling-admin-page.md b/Enabling-admin-page.md index f1b6586..4e6d041 100644 --- a/Enabling-admin-page.md +++ b/Enabling-admin-page.md @@ -124,8 +124,11 @@ The same for using the docker/podman cli using `-e ADMIN_TOKEN`. ``` **.env:** + +_Make sure you don't use quotes in the `.env` file._ + ```bash -VAULTWARDEN_ADMIN_TOKEN='$argon2id$v=19$m=65540,t=3,p=4$MmeK.....' +VAULTWARDEN_ADMIN_TOKEN=$argon2id$v=19$m=65540,t=3,p=4$MmeK..... ``` **docker-compose.yaml:** @@ -140,3 +143,5 @@ services: environment: - ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN} ``` + +You can check your configuration by calling `docker compose config`, you should see the escaped $-sign as double-$.