fix: update user documentation about password encryption

Signed-off-by: Kadaffy Talavera <kadtalavera@gmail.com>
This commit is contained in:
Kadaffy Talavera 2025-10-16 12:29:49 +02:00
parent 1d5ae3d96d
commit 7bb4ecce42
No known key found for this signature in database
GPG Key ID: 272F044ED4FC7B3A
1 changed files with 6 additions and 5 deletions

View File

@ -96,10 +96,11 @@ psql -U postgres -h localhost -p 6432
## Password encryption
Passwords are encrypted with `md5` hash generation by default. However, it is
possible to use the more recent `scram-sha-256` method by changing the
`password_encryption` parameter in the Postgres config. You can define it
directly from the cluster manifest:
Passwords are encrypted using the `scram-sha-256` hashing method by default. However, it is possible to use the `md5` method by changing the `password_encryption` parameter in the PostgreSQL configuration.
> **Note:** `md5` authentication is deprecated in PostgreSQL.
You can also define this parameter directly in the cluster manifest:
```yaml
apiVersion: "acid.zalan.do/v1"