Back to search
pg_hba.conf
config databasePostgreSQL client authentication configuration
/etc/postgresql/16/main/pg_hba.conf
Required Packages
sudo apt install -y postgresql Access Rule
Database name, 'all', or comma-separated list
User name, 'all', or comma-separated list
CIDR address (not used for 'local' type)
Generated Config — /etc/postgresql/16/main/pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD host all all 127.0.0.1/32 scram-sha-256