Hey. I am self-hosting growthbook and trying to ad...
# ask-questions
b
Hey. I am self-hosting growthbook and trying to add a snowflake connection via keypair. This is not documented, but I still tried. The connection did get added, however if I tried to create a fact table on top of this connection, I got an error
A password must be specified.
Snowflake will probably deprecate the password sign-ins soon. So I am wondering if there is a plan to get this done. I should mention configuring the connection via the UI and using the keypair worked out.
Made it work with the following config:
Copy code
datasources:
  warehouse:
    type: snowflake
    name: Snowflake
    params:
      account: ...
      username: ...
      database: ...
      schema: ...
      role: ...
      warehouse: ...
      authMethod: "key-pair"
      privateKey: "-----BEGIN PRIVATE KEY-----snowflake_private_key-----END PRIVATE KEY-----"