diff --git a/advlabdb/scripts/setup/generate_secrets.py b/advlabdb/scripts/setup/generate_secrets.py new file mode 100644 index 0000000..cad7fea --- /dev/null +++ b/advlabdb/scripts/setup/generate_secrets.py @@ -0,0 +1,4 @@ +import secrets + +print(f"SECRET_KEY={secrets.SystemRandom().getrandbits(128)}") +print(f"SECURITY_PASSWORD_SALT={secrets.token_hex()}")