vaultwarden's admin panel was never on: AUTH_TOKEN is not an env var #127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "vaultwarden-admin-token"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
the
vaultwardenTokensecret has been settingAUTH_TOKEN=since it was added, which isn't a vaultwarden env var at all - the one that gates/adminisADMIN_TOKEN. unknown keys in anenvironmentFileare ignored silently, so vaultwarden booted clean the whole time with the admin panel simply never enabled. surfaced while looking for a per-user premium flag to explain missing TOTP codes in the web vault (there isn't one - vaultwarden reports premium unconditionally, there's no such column in the users table, and TOTP was already working).ADMIN_TOKEN; the value is untouched, so nothing is rotatedvaultwarden.nixalready feeds the secret in asenvironmentFile, the key name lives inside the secret/adminstays VPN-only via the existingROCKET_ADDRESS = internalbind. note that the panel's settings page writes/var/lib/vaultwarden/config.json, which overrides the nixconfigblock and survives deploys - delete it to hand authority back to the flake.422c1502db5a61ea4084