From e82c1c7ab7c63d584a4ba1a89f86732717aec4f3 Mon Sep 17 00:00:00 2001 From: RATDAD Date: Sun, 15 Feb 2026 17:02:20 -0500 Subject: Updated Authelia container template; added helper scripts --- stacks/iam/util/gen-user-passwd.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stacks/iam/util/gen-user-passwd.sh (limited to 'stacks/iam/util/gen-user-passwd.sh') diff --git a/stacks/iam/util/gen-user-passwd.sh b/stacks/iam/util/gen-user-passwd.sh new file mode 100755 index 0000000..d8202ee --- /dev/null +++ b/stacks/iam/util/gen-user-passwd.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -euo pipefail + +read -rp "Enter a password for the new user: " PASSWORD +HASHED=$(docker run --rm authelia/authelia:latest authelia crypto hash generate argon2 --password "${PASSWORD}") + +printf "Password: %s\n" "${PASSWORD}" +printf "Hash: %s\n" "${HASHED}" -- cgit v1.2.3-70-g09d2