fix: update user documentation about password encryption
Signed-off-by: Kadaffy Talavera <kadtalavera@gmail.com>
This commit is contained in:
		
							parent
							
								
									1d5ae3d96d
								
							
						
					
					
						commit
						7bb4ecce42
					
				
							
								
								
									
										11
									
								
								docs/user.md
								
								
								
								
							
							
						
						
									
										11
									
								
								docs/user.md
								
								
								
								
							|  | @ -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" | ||||
|  | @ -1053,7 +1054,7 @@ spec: | |||
|     - all | ||||
|     volumeSource: | ||||
|       emptyDir: {} | ||||
|   sidecars:  | ||||
|   sidecars: | ||||
|   - name: "container-name" | ||||
|     image: "company/image:tag" | ||||
|     volumeMounts: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue