Files
HiveGrid-Wireframes/hivegrid-cloud/infra/pgbouncer/userlist.txt.template
T

20 lines
944 B
Plaintext

; userlist.txt template for PgBouncer (SCRAM-SHA-256 entries).
;
; Real `userlist.txt` is generated at deploy time from Coolify secrets and
; mounted at /etc/pgbouncer/userlist.txt. Never commit a real password hash.
;
; Format: "username" "SCRAM-SHA-256$<iterations>:<salt>$<storedkey>:<serverkey>"
;
; Generate a SCRAM-SHA-256 line for a known plaintext password with psql:
;
; psql -h <postgres-host> -U postgres -tAc \
; "SELECT '\"'||rolname||'\" \"'||rolpassword||'\"' \
; FROM pg_authid WHERE rolname IN ('app_user', 'pgb_admin');"
;
; (Postgres must have been initialised with password_encryption=scram-sha-256
; for the stored hash to be SCRAM rather than md5.)
;
; Example entries — replace with real SCRAM hashes from Coolify secrets:
"app_user" "SCRAM-SHA-256$4096:REPLACE_ME_SALT$REPLACE_ME_STORED_KEY:REPLACE_ME_SERVER_KEY"
"pgb_admin" "SCRAM-SHA-256$4096:REPLACE_ME_SALT$REPLACE_ME_STORED_KEY:REPLACE_ME_SERVER_KEY"