Files
horus/bin/supervisor/scripts/generate_secret.sh
2025-11-13 20:44:00 +01:00

12 lines
274 B
Bash
Executable File

#!/bin/bash
# Generate a supervisor secret key in the correct format
# Generate a random 32-byte hex string
SECRET=$(openssl rand -hex 32)
echo "Generated supervisor secret:"
echo "$SECRET"
echo ""
echo "Add this to your .env file:"
echo "SUPERVISOR_ADMIN_SECRET=$SECRET"