Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
[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>
  • Loading branch information
NeilBATB authored and NBor committed May 9, 2022
commit d54774c84d6576482514d2ff5abad938aa3195fc
6 changes: 6 additions & 0 deletions docs/reference/offline-stores/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ The PostgreSQL offline store is an offline store that provides support for readi
* `to_df` to retrieve the pandas dataframe.
* `to_arrow` to retrieve the dataframe as a PyArrow table.

* sslmode, sslkey_path, sslcert_path, and sslrootcert_path are optional

## Example

{% code title="feature_store.yaml" %}
Expand All @@ -28,6 +30,10 @@ offline_store:
db_schema: DB_SCHEMA
user: DB_USERNAME
password: DB_PASSWORD
sslmode: verify-ca
sslkey_path: /path/to/client-key.pem
sslcert_path: /path/to/client-cert.pem
sslrootcert_path: /path/to/server-ca.pem
online_store:
path: data/online_store.db
```
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/online-stores/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The PostgreSQL online store provides support for materializing feature values in

* Only the latest feature values are persisted

* sslmode, sslkey_path, sslcert_path, and sslrootcert_path are optional

## Example

{% code title="feature_store.yaml" %}
Expand All @@ -21,6 +23,10 @@ online_store:
db_schema: DB_SCHEMA
user: DB_USERNAME
password: DB_PASSWORD
sslmode: verify-ca
sslkey_path: /path/to/client-key.pem
sslcert_path: /path/to/client-cert.pem
sslrootcert_path: /path/to/server-ca.pem
```
{% endcode %}

Expand Down