Skip to main content
Practitioner ⭐️
August 8, 2024
Parked

Is there any way to ODBC DNS for Snowflake Extractor instead of putting username and password in YAML?

Related products:Extractors
  • August 8, 2024
  • 8 replies
  • 49 views

Hello,

 

I have trying to use the ODBC extractor to pull data from Snowflake, I could do that by following instructions here https://docs.cognite.com/cdf/integration/guides/extraction/configuration/db/#-snowflake

 

However, this requires me to put passwords in YAML config. Is there anyway to use DSN from ODBC instead? I see that connection-string parameter is not supported when I choose type as snowflake.

 

Thanks!

8 replies

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
October 3, 2024

Hi @Tanmay Deshpande,

Can you please check whether the documentation here helps for your usecase?

Practitioner ⭐️
October 7, 2024

Hi @Mithila Jayalath  The question is not if Snowflake supports ODBC, the question is if Cognite ODBC extractor supports passing DSN option while configuring the extractor. https://docs.cognite.com/cdf/integration/guides/extraction/configuration/db/#-snowflake

Aditya Kotiyal
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
October 8, 2024

@Peet Cremer  Can you help with this query?

If it is not supported today, it will be good to implement something to avoid security scan failures considering username and password are not encrypted.

Aditya Kotiyal
Aditya Kotiyal
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
October 8, 2024

@Mithila Jayalath If it is not supported (once Peet responds), then can we convert this into a product idea?

Aditya Kotiyal
Lead Product Manager
October 8, 2024

@Tanmay Deshpande,

Unfortunately, the DB extractor does not currently support DSN configuration for the Snowflake source system "flavor" (personality), and we do not have any plans for supporting it in the near future (next quarter or two) as we're fully loaded with work. I can reassess the need, and our schedule, to consider adding generic DSN support for more DB/ODBC connected flavors supported by the DB Extractor, in about 6 months or so. 

Practitioner ⭐️⭐️⭐️
October 8, 2024

@Aditya Kotiyal see Thomas’s response. Not supported for now, but could be evaluated in 6 months.

Lead Product Manager
July 13, 2025

FYI, we have added support for Oauth2 for the Snowflake provider in the DB Extractor. Hopefully this helps mitigate the challenges leading to the DSN config support?

Aditya Kotiyal
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
July 14, 2025

Thanks ​@Thomas Sjølshagen 

This comes at a good time, will touch base with you in person.

Aditya Kotiyal