mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 19:37:59 +02:00
fix: update user documentation about password encryption
Signed-off-by: Kadaffy Talavera <kadtalavera@gmail.com>
This commit is contained in:
+5
-4
@@ -96,10 +96,11 @@ psql -U postgres -h localhost -p 6432
|
|||||||
|
|
||||||
## Password encryption
|
## Password encryption
|
||||||
|
|
||||||
Passwords are encrypted with `md5` hash generation by default. However, it is
|
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.
|
||||||
possible to use the more recent `scram-sha-256` method by changing the
|
|
||||||
`password_encryption` parameter in the Postgres config. You can define it
|
> **Note:** `md5` authentication is deprecated in PostgreSQL.
|
||||||
directly from the cluster manifest:
|
|
||||||
|
You can also define this parameter directly in the cluster manifest:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: "acid.zalan.do/v1"
|
apiVersion: "acid.zalan.do/v1"
|
||||||
|
|||||||
Reference in New Issue
Block a user