1
0
mirror of synced 2026-01-06 15:03:36 -05:00
Files
airbyte/airbyte-integrations/connectors/source-snowflake

Snowflake Source

Documentation

Community Contributor

  1. Look at the integration documentation to see how to create a warehouse/database/schema/user/role for Airbyte to sync into.
  2. Create a file at secrets/config.json with the following format:
{
  "host": "ACCOUNT.REGION.PROVIDER.snowflakecomputing.com",
  "role": "AIRBYTE_ROLE",
  "warehouse": "AIRBYTE_WAREHOUSE",
  "database": "AIRBYTE_DATABASE",
  "schema": "AIRBYTE_SCHEMA",
  "credentials": {
    "auth_type": "username/password",
    "username": "AIRBYTE_USER",
    "password": "SOMEPASSWORD"
  }
}
  1. Create a file at secrets/config_auth.json with the following format:
{
  "host": "ACCOUNT.REGION.PROVIDER.snowflakecomputing.com",
  "role": "AIRBYTE_ROLE",
  "warehouse": "AIRBYTE_WAREHOUSE",
  "database": "AIRBYTE_DATABASE",
  "schema": "AIRBYTE_SCHEMA",
  "credentials": {
    "auth_type": "OAuth",
    "client_id": "client_id",
    "client_secret": "client_secret",
    "refresh_token": "refresh_token"
  }
}

For Airbyte employees

To be able to run integration tests locally:

  1. Put the contents of the Source snowflake test creds (secrets/config.json) secret on Lastpass into secrets/config.json.
  2. Put the contents of the SECRET_SOURCE-SNOWFLAKE_OAUTH__CREDS (secrets/config_auth.json) secret on Lastpass into secrets/config_auth.json.