Tired of SSH-ing into databases to provision users across dev/qa/uat/prod. Built a small Flask REST API that wraps it all — one curl call creates the right user type with correct privileges, logs it, and optionally fires a Slack/Webex/email notification. Two things I focused on: keeping DBA credentials server-side only (callers never see them), and making every endpoint idempotent so it's safe to call from CI pipelines. Full write-up + GitHub link: "Happy to share the GitHub link in the comments if anyone wants it" Anyone solved multi-env PostgreSQL user provisioning differently? Curious what others are using. submitted by /u/Ok-Blackberry108 [link] [comments]