【发布时间】:2021-08-25 04:49:42
【问题描述】:
我们如何在 dbt 中读取文件路径作为 ssl_mode 验证的一部分。 我正在尝试使用这些键(目前在 Linux RHEL vm 和使用 postgresql 数据库中)。
sslmode: require
sslcert: <file-path>
sslkey: <file-path>
sslrootcert: <file-path>
目前我曾尝试使用 /home/user/cert_file 但出现错误
>Database Error
FATAL: connection requires a valid client certificate
提供文件路径的正确语法是什么?
【问题讨论】:
-
你要连接什么数据库?
-
更新问题,使用postgresql进行测试
-
您能分享更多您的编辑过的个人资料 yaml 吗?运行
dbt debug时会发生什么输出?
标签: dbt