Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Updated connection_url to be pgx library relevant into release/1.13.x #19674

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions website/content/api-docs/secret/databases/postgresql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ has a number of parameters to further configure a connection.
- `connection_url` `(string: <required>)` - Specifies the PostgreSQL DSN. This field
can be templated and supports passing the username and password
parameters in the following format `{{field_name}}`. Certificate authentication
can be used by setting `?sslinline=true` and giving the SSL credentials in the
`sslrootcert`, `sslcert` and `sslkey` credentials. A templated connection URL
is required when using root credential rotation. This field supports both format
string types, URI and keyword/value. Both formats support multiple host connection
strings.
can be used by setting `?sslmode=` to be any of the applicable values as outlined in
the [Postgres SQL documentation](https://www.postgresql.org/docs/11/libpq-ssl.html#LIBPQ-SSL-PROTECTION)
and giving the SSL credentials in the `sslrootcert`, `sslcert` and `sslkey` credentials.
A templated connection URL is required when using root credential rotation. This field
supports both format string types, URI and keyword/value. Both formats support multiple
host connection strings.

- `max_open_connections` `(int: 4)` - Specifies the maximum number of open
connections to the database.
Expand Down