Skip to content

Commit

Permalink
Add pg_sslmode parameter description (#153)
Browse files Browse the repository at this point in the history
* Add `pg_sslmode` parameter description

* Update index.md

* Update index.md
  • Loading branch information
ewgenius authored Mar 27, 2024
1 parent 39b730a commit c85387b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spiceaidocs/docs/data-connectors/postgres/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ The connection to PostgreSQL can be configured by providing the following `param
- `pg_user`: The username to connect with.
- `pg_pass_key`: The secret key containing the password to connect with.
- `pg_pass`: The raw password to connect with, ignored if `pg_pass_key` is provided.
- `pg_sslmode`: Optional parameter, specifies the SSL/TLS behavior for the connection, supported values:
- `prefer`: (default) This mode will try to establish a secure SSL connection if possible, but will connect insecurely if the server does not support SSL.
- `required`: This mode requires an SSL connection. If a secure connection cannot be established, server will not connect.
- `disable`: This mode will not attempt to use an SSL connection, even if the server supports it.

Configuration `params` are provided either in the top level `dataset` for a dataset source and federated SQL query, or in the `acceleration` section for a data store.

Expand Down

0 comments on commit c85387b

Please sign in to comment.