If you manage PostgreSQL databases across multiple environments, you've probably done this:

SSH to the DB host (or connect via psql)

Run CREATE USER jsmith CONNECTION LIMIT 20 PASSWORD '...'

Slack the password to the developer

Forget to log it anywhere