You can create a Snowflake Destination Connector to write to a table within your Snowflake, using Snowflake's key pair authentication.
To set up this Destination Connector, you will need to configure key pair authentication for your Snowflake account and provide the private key. To learn more about configuring key pair authentication within Snowflake, visit: https://docs.snowflake.com/en/user-guide/key-pair-auth.html
The schema for this Destination Connector is defined by the Snowflake table schema.
- Private Key
- Account Name
- User Name (with appropriate privileges)
Step 1: After selecting + New Connector, under the System prompt, click Snowflake.
Step 2: Enter a Connector Name.
Step 3: Select Destination Connector.
Step 4: Provide a private key for your Snowflake environment in PEM format as shown below:
Note: We do not currently support encrypted keys
To learn more about configuring key pair authentication for your Snowflake account, visit: https://docs.snowflake.com/en/user-guide/key-pair-auth.html
Step 5: Provide your Snowflake account name in this format
Note: Your full account name may include segments that identify the region and cloud platform where your account is hosted. Include those additional segments when providing your account name.
To learn more about Snowflake account names, visit: https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#non-vps-account-locator-formats-by-cloud-platform-and-region
Step 6: Provide your User Name.
This User Name must be associated with an account that has the required permissions enabled in order to successfully build a connector. To learn more about Snowflake access controlprivledges, visit: https://docs.snowflake.com/en/user-guide/security-access-control.html
Step 7: Provide the name of the Warehouse that will execute the query you provide below.
Step 8: Provide the name of the Database that contains the table you want to write to.
Step 9: Provide the name of the Schema that contains the table you want to write to.
Step 10: Provide the name of the Table you want to write to.
Note: the schema for this Destination Connector is defined by the Snowflake table schema.
We support the use of Validation Webhooks to prevent bad data from being written to your systems, adding another layer of protection to the built-in validations that Osmos provides. The Webhook URL can be posted here.