Skip to content

Commit c85387b

Browse files
authored
Add pg_sslmode parameter description (#153)
* Add `pg_sslmode` parameter description * Update index.md * Update index.md
1 parent 39b730a commit c85387b

File tree

1 file changed

+4
-0
lines changed
  • spiceaidocs/docs/data-connectors/postgres

1 file changed

+4
-0
lines changed

spiceaidocs/docs/data-connectors/postgres/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ The connection to PostgreSQL can be configured by providing the following `param
2424
- `pg_user`: The username to connect with.
2525
- `pg_pass_key`: The secret key containing the password to connect with.
2626
- `pg_pass`: The raw password to connect with, ignored if `pg_pass_key` is provided.
27+
- `pg_sslmode`: Optional parameter, specifies the SSL/TLS behavior for the connection, supported values:
28+
- `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.
29+
- `required`: This mode requires an SSL connection. If a secure connection cannot be established, server will not connect.
30+
- `disable`: This mode will not attempt to use an SSL connection, even if the server supports it.
2731

2832
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.
2933

0 commit comments

Comments
 (0)