Skip to content

Commit

Permalink
[docs] SSL for Postgres
Browse files Browse the repository at this point in the history
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
1 parent 66efaf0 commit d54774c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit d54774c

Please sign in to comment.