Hashed Admin Token in Vaultwarden HOWTO?

I’m setting up Vaultwarden for the first time.

Is there anyone out there who has already set up Vaultwarden with a hashed ADMIN_TOKEN?

Is it enough to perform:

echo -n "MySecretPassword" | argon2 "$(openssl rand -base64 32)" -e -id -k 65540 -t 3 -p 4

and put the result e.g.

$argon2id$v=19$m=65540,t=3,p=4$bXBGMENBZUVzT3VUSFErTzQzK25Jck1BN2Z0amFuWjdSdVlIQVZqYzAzYz0$T9m73OdD2mz9+aJKLuOAdbvoARdaKxtOZ+jZcSL9/N0

into the Admin Token field in the web admin panel?

1 Like

I tested it for myself. It works as described above.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.