Skip to content

Commit 176ad9d

Browse files
committed
Document credential rotation.
[#613] Signed-off-by: Mark Paluch <[email protected]>
1 parent 424ca63 commit 176ad9d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This driver provides the following features:
66

77
* Implements R2DBC 1.0
88
* Login with username/password (MD5, SASL/SCRAM) or implicit trust
9+
* Supports credential rotation by providing `Supplier<String>` or `Publisher<String>`
910
* SCRAM authentication
1011
* Unix Domain Socket transport
1112
* Connection Fail-over supporting multiple hosts
@@ -76,8 +77,8 @@ Mono<Connection> connectionMono = Mono.from(connectionFactory.create());
7677
| `host` | Server hostname to connect to. May contain a comma-separated list of hosts with ports when using the `failover` protocol.
7778
| `port` | Server port to connect to. Defaults to `5432`. _(Optional)_
7879
| `socket` | Unix Domain Socket path to connect to as alternative to TCP. _(Optional)_
79-
| `username` | Login username.
80-
| `password` | Login password. _(Optional when using TLS Certificate authentication)_
80+
| `username` | Login username. Can be a plain `String`, `Supplier<String>`, or `Publisher<String>`.
81+
| `password` | Login password. Can be a plain `CharSequence`, `Supplier<CharSequence>`, or `Publisher<CharSequence>`. _(Optional when using TLS Certificate authentication)_
8182
| `database` | Database to select. _(Optional)_
8283
| `applicationName` | The name of the application connecting to the database. Defaults to `r2dbc-postgresql`. _(Optional)_
8384
| `autodetectExtensions` | Whether to auto-detect and register `Extension`s from the class path. Defaults to `true`. _(Optional)_

0 commit comments

Comments
 (0)