---
name: "pgagroal_hba.conf"
section: "5"
platform: "linux"
package: "pgagroal"
version: "1.6.0-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pgagroal_hba.conf"
---

# pgagroal\_hba.conf(5)

Host based access configuration file for pgagroal

## NAME

pgagroal\_hba.conf - Host based access configuration file for pgagroal

## DESCRIPTION

pgagroal\_hba.conf specifies the host based access pattern for pgagroal.

## FORMAT

- **TYPE**

  Specifies the access method for clients. Only host supported

- **DATABASE**

  Specifies the database for the rule. Either specific name or all for all databases

- **USER**

  Specifies the user for the rule. Either specific name or all for all users

- **ADDRESS**

  Specifies the network for the rule. all for all networks, or IPv4 address with a mask (0.0.0.0/0) or IPv6 address with a mask (::0/0)

- **METHOD**

  Specifies the authentication mode for the user. all for all methods, otherwise trust, reject, password, md5 or scram-sha-256

## EXAMPLE

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

## REPORTING BUGS

pgagroal is maintained on GitHub at *https://github.com/agroal/pgagroal*

## COPYRIGHT

pgagroal is licensed under the 3-clause BSD License.

## SEE ALSO

[pgagroal.conf(5)](/pgagroal.conf/5.md), [pgagroal\_databases.conf(5)](/pgagroal_databases.conf/5.md), [pgagroal(1)](/pgagroal/1.md), [pgagroal-cli(1)](/pgagroal-cli/1.md), [pgagroal-admin(1)](/pgagroal-admin/1.md)
