diff --git a/llama_stack/providers/utils/kvstore/config.py b/llama_stack/providers/utils/kvstore/config.py index 354e13464..d1747d65b 100644 --- a/llama_stack/providers/utils/kvstore/config.py +++ b/llama_stack/providers/utils/kvstore/config.py @@ -76,7 +76,7 @@ class PostgresKVStoreConfig(CommonConfig): user: str password: str | None = None ssl_mode: str | None = None - ssl_root_cert: str | None = None + ca_cert_path: str | None = None table_name: str = "llamastack_kvstore" @classmethod diff --git a/llama_stack/providers/utils/kvstore/postgres/postgres.py b/llama_stack/providers/utils/kvstore/postgres/postgres.py index 6fe5b0f10..cabb4c512 100644 --- a/llama_stack/providers/utils/kvstore/postgres/postgres.py +++ b/llama_stack/providers/utils/kvstore/postgres/postgres.py @@ -31,7 +31,7 @@ class PostgresKVStoreImpl(KVStore): user=self.config.user, password=self.config.password, sslmode=self.config.ssl_mode, - sslrootcert=self.config.ssl_root_cert, + sslrootcert=self.config.ca_cert_path, ) self.conn.autocommit = True self.cursor = self.conn.cursor(cursor_factory=DictCursor)