File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,12 @@ func Secret(ctx context.Context,
5555 initialize .Map (& outSecret .Data )
5656
5757 // Use the existing password and verifier. Generate when one is missing.
58+ // PgBouncer can login to PostgreSQL using either MD5 or SCRAM-SHA-256.
59+ // When using MD5, the (hashed) verifier can be stored in PgBouncer's
60+ // authentication file. When using SCRAM, the plaintext password must be
61+ // stored.
62+ // - https://www.pgbouncer.org/config.html#authentication-file-format
63+ // - https://github.com/pgbouncer/pgbouncer/issues/508#issuecomment-713339834
5864 // NOTE(cbandy): We don't have a function to compare a plaintext password
5965 // to a SCRAM verifier.
6066 password := string (inSecret .Data [passwordSecretKey ])
You can’t perform that action at this time.
0 commit comments