vaultwardenub/vaultwarden/add_admin_token.sh

5 lines
176 B
Bash
Raw Normal View History

2024-06-29 02:28:40 +02:00
cat add_admin_token.sh
echo -n VAULTWARDEN_ADMIN_TOKEN= >> .env
echo -n "REACTED" | argon2 "$(openssl rand -base64 32)" -e -id -k 65540 -t 3 -p 4 | sed 's#\$#\$\$#g' >> .env