pgagroal_hba.conf(5)

πŸ’– pgagroal_hba.conf β€” the host based access glow-up πŸ’–

okay bestie, gather round, because this is pgagroal_hba.conf(5), a File Formats Manual page, and it is literally the bouncer list for your connections. no cap.


🌸 NAME 🌸

pgagroal_hba.conf β€” Host based access configuration file for pgagroal ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

pgagroal_hba.conf is the file that spells out the host based access pattern for pgagroal. that's it, that's the whole vibe β€” it decides who gets in and who gets told no. πŸ’…


πŸŽ€ FORMAT πŸŽ€

every rule is a lil row with a TYPE, a DATABASE, a USER, an ADDRESS and a METHOD. let's break down every single one, because we do not skip parts in this house:

  • TYPE β€” this is the access method for clients. only host is supported, so don't get creative, bestie. 🚫
  • DATABASE β€” the database this rule is for. you can drop a specific name in here, or use all if you mean every single database. πŸ‘‘
  • USER β€” the user this rule is for. again: a specific name, or all for all users. no gatekeeping beyond what you write here. πŸ’œ
  • ADDRESS β€” the network this rule covers. all means all networks. otherwise it's an IPv4 address with a mask (0.0.0.0/0) or an IPv6 address with a mask (::0/0). both styles are literally right there, use whichever fits. 🌈
  • METHOD β€” the authentication mode for the user. all means all methods (yes, all of them, chaos queen πŸ‘‘), otherwise it's one of trust, reject, password, md5 or scram-sha-256. pick your fighter. πŸ”₯

✨ EXAMPLE ✨

here's the moment you've been waiting for, the actual file, copied exactly so you can't mess it up:

#
# TYPE  DATABASE USER  ADDRESS  METHOD
#
host    all      all   all      all

it's giving "everyone come in, i trust y'all completely" energy. use responsibly. πŸ™ˆ


😭 REPORTING BUGS 😭

pgagroal is maintained on GitHub at <https://github.com/pgagroal/pgagroal> β€” go there if something's broken, the maintainers are the main characters and they will handle it. 🫢


pgagroal is licensed under the 3-clause BSD License. slay, legally speaking. ⭐


🧚 SEE ALSO 🧚

pgagroal.conf(5), pgagroal_databases.conf(5), pgagroal_vault.conf(5), pgagroal(1), pgagroal-cli(1), pgagroal-admin(1), pgagroal-vault(1) β€” the whole friend group, go read them all, iykyk. πŸ’–


and that's the page, bestie!! πŸ¦‹βœ¨ mwah πŸ’… β€” this was pgagroal_hba.conf(5) from the File Formats Manual, and yeah, that footer is literally the same thing as the title, because this page is the moment. go configure something iconic. πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from