From 126b60e4c51de3d2b86f566e5071a27390892770 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 12 Dec 2023 15:01:29 +0100 Subject: [PATCH] Document credential rotation. [#613] Signed-off-by: Mark Paluch --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d4d9e82..bc9372d9 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ This driver provides the following features: * Implements R2DBC 1.0 * Login with username/password (MD5, SASL/SCRAM) or implicit trust +* Supports credential rotation by providing `Supplier` or `Publisher` * SCRAM authentication * Unix Domain Socket transport * Connection Fail-over supporting multiple hosts @@ -76,8 +77,8 @@ Mono connectionMono = Mono.from(connectionFactory.create()); | `host` | Server hostname to connect to. May contain a comma-separated list of hosts with ports when using the `failover` protocol. | `port` | Server port to connect to. Defaults to `5432`. _(Optional)_ | `socket` | Unix Domain Socket path to connect to as alternative to TCP. _(Optional)_ -| `username` | Login username. -| `password` | Login password. _(Optional when using TLS Certificate authentication)_ +| `username` | Login username. Can be a plain `String`, `Supplier`, or `Publisher`. +| `password` | Login password. Can be a plain `CharSequence`, `Supplier`, or `Publisher`. _(Optional when using TLS Certificate authentication)_ | `database` | Database to select. _(Optional)_ | `applicationName` | The name of the application connecting to the database. Defaults to `r2dbc-postgresql`. _(Optional)_ | `autodetectExtensions` | Whether to auto-detect and register `Extension`s from the class path. Defaults to `true`. _(Optional)_