Skip to content

Commit d54774c

Browse files
NeilBATBNBor
authored andcommitted
[docs] SSL for Postgres
Updated the reference docs for offline/online stores to describe the SSL options available Signed-off-by: Neil Borle <nborle@atb.com>
1 parent 66efaf0 commit d54774c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/reference/offline-stores/postgres.md

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The PostgreSQL offline store is an offline store that provides support for readi
1313
* `to_df` to retrieve the pandas dataframe.
1414
* `to_arrow` to retrieve the dataframe as a PyArrow table.
1515

16+
* sslmode, sslkey_path, sslcert_path, and sslrootcert_path are optional
17+
1618
## Example
1719

1820
{% code title="feature_store.yaml" %}
@@ -28,6 +30,10 @@ offline_store:
2830
db_schema: DB_SCHEMA
2931
user: DB_USERNAME
3032
password: DB_PASSWORD
33+
sslmode: verify-ca
34+
sslkey_path: /path/to/client-key.pem
35+
sslcert_path: /path/to/client-cert.pem
36+
sslrootcert_path: /path/to/server-ca.pem
3137
online_store:
3238
path: data/online_store.db
3339
```

docs/reference/online-stores/postgres.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The PostgreSQL online store provides support for materializing feature values in
66

77
* Only the latest feature values are persisted
88

9+
* sslmode, sslkey_path, sslcert_path, and sslrootcert_path are optional
10+
911
## Example
1012

1113
{% code title="feature_store.yaml" %}
@@ -21,6 +23,10 @@ online_store:
2123
db_schema: DB_SCHEMA
2224
user: DB_USERNAME
2325
password: DB_PASSWORD
26+
sslmode: verify-ca
27+
sslkey_path: /path/to/client-key.pem
28+
sslcert_path: /path/to/client-cert.pem
29+
sslrootcert_path: /path/to/server-ca.pem
2430
```
2531
{% endcode %}
2632

0 commit comments

Comments
 (0)