Capabilities
The Snowflake connector supports account provisioning.
This connector can sync secrets and display them on the Inventory page.
Gather Snowflake credentials
Configuring the connector requires you to pass in credentials generated in Snowflake. Gather these credentials before you move on.Generate a private key and set the public key on a Snowflake user
1
Generate an unencrypted private key in PEM format by running the following command:
2
Next, use the private key to generate the public key. Run the following command:
3
To enable public key authentication for a Snowflake user, execute the following Tip: When setting the
ALTER USER command. A user with the ACCOUNTADMIN role must perform this operation:RSA_PUBLIC_KEY, extract the key content between the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines from your public key file. Do not include the header or footer. The key should be a single continuous string.4
Carefully save the private key.
Look up your account identifier
1
Find your account identifier by navigating in the Snowflake console to your account, selecting your user, and finding the alphanumeric code listed under Locator.
Configure the Snowflake connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Snowflake connector is now pulling access data into C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Snowflake v2 and click Add.
3
Choose how to set up the new Snowflake connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
In the Account URL field, enter the full URL of your Snowflake instance.
8
In the Account ID / Locator field, enter your Snowflake account identifier.
9
In the Username field, enter your Snowflake username.
10
In the RSA Private Key (PEM Format) field, upload the private key file.
11
Optional. Enable Sync secrets to display them on the Inventory page.
12
Optional. In the Excluded Databases field, enter the names of any Snowflake databases you want to skip during sync. You can add multiple names. Matching is case-insensitive. Excluded databases and all their tables are omitted from every sync.
13
Click Save.
14
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
Troubleshooting the Snowflake v2 connector
4xx errors
If you’re seeing a422 unprocessable entity or 401 unauthorized error in the logs, make sure that your service account has the DEFAULT_WAREHOUSEproperty, and that you’ve correctly looked up your Snowflake account identifier.
Connector fails when Snowflake IP allowlisting is enabled
If your Snowflake account has a network policy configured that restricts access by IP address, you must add C1’s egress IP addresses to the allowlist. Otherwise, Snowflake will reject connections from the connector. For cloud-hosted connectors, C1 manages the connector infrastructure. Add C1’s connector egress IPs to your Snowflake network policy. See C1 egress IP addresses for the current list. For self-hosted connectors, the connector runs on your own infrastructure, so you should add the outbound IP addresses of your own environment instead.User fields (LOGIN, DISPLAY_NAME, etc.) are empty in synced data
If user records are syncing but fields such asLOGIN, DISPLAY_NAME, and others are empty, with no other errors, checking the following:
- Ensure that the service account has a role granted. If the service account has a default role set, but no roles granted, user data will not sync correctly. Grant the default role to the service account to resolve this issue.
-
Ensure the
MANAGE GRANTSprivilege is granted directly to the service account user (not inherited via a role). Use the following steps to grant the privilege directly: