| Type: | integer |
| Default: | 4096 |
| Min: | 1 |
| Max: | 2147483647 |
| Context: | user |
| Restart: | false |
| Since: | 16 |
The number of computational iterations to be performed when encrypting a password using SCRAM-SHA-256. The default is 4096. A higher number of iterations provides additional protection against brute-force attacks on stored passwords, but makes authentication slower. Changing the value has no effect on existing passwords encrypted with SCRAM-SHA-256 as the iteration count is fixed at the time of encryption. In order to make use of a changed value, a new password must be set.
