Skip to content

Commit 2e0304d

Browse files
authored
Merge pull request #2149 from infosiftr/scram-sha-256
Update POSTGRES_HOST_AUTH_METHOD description
2 parents 6851275 + b574190 commit 2e0304d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ This optional environment variable can be used to define another location for th
8080

8181
### `POSTGRES_HOST_AUTH_METHOD`
8282

83-
This optional variable can be used to control the `auth-method` for `host` connections for `all` databases, `all` users, and `all` addresses. If unspecified then [`md5` password authentication](https://www.postgresql.org/docs/current/auth-password.html) is used. On an uninitialized database, this will populate `pg_hba.conf` via this approximate line:
83+
This optional variable can be used to control the `auth-method` for `host` connections for `all` databases, `all` users, and `all` addresses. If unspecified then [`scram-sha-256` password authentication](https://www.postgresql.org/docs/current/auth-password.html) is used (in 14+; `md5` in older releases). On an uninitialized database, this will populate `pg_hba.conf` via this approximate line:
8484

8585
```console
8686
echo "host all all all $POSTGRES_HOST_AUTH_METHOD" >> pg_hba.conf

0 commit comments

Comments
 (0)