Create add_admin_token.sh

This commit is contained in:
David Rotermund 2024-06-29 02:28:40 +02:00 committed by GitHub
parent 2865e9be0a
commit f8341074dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
add_admin_token.sh Normal file
View file

@ -0,0 +1,4 @@
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