From f8341074ddea3a57123808082c51df5cac95e0f3 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Sat, 29 Jun 2024 02:28:40 +0200 Subject: [PATCH] Create add_admin_token.sh --- add_admin_token.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 add_admin_token.sh diff --git a/add_admin_token.sh b/add_admin_token.sh new file mode 100644 index 0000000..4c25844 --- /dev/null +++ b/add_admin_token.sh @@ -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 +