C1 provides identity governance for Snowflake. Integrate your Snowflake instance with C1 to run user access reviews (UARs) and enable just-in-time access requests.
This is an updated and improved version of the Snowflake connector! If you’re setting up Snowflake with C1 for the first time, you’re in the right place.
Configuring the connector requires you to pass in credentials generated in Snowflake. Gather these credentials before you move on.
For best results, use a dedicated service account. C1 will use the DEFAULT_WAREHOUSE, DEFAULT_NAMESPACE, and DEFAULT_ROLE properties of the user used for the integration. For this reason, we recommend creating a dedicated service account in Snowflake for integrating with C1 with these default user properties.Give the service account the MONITOR USAGE and MANAGE GRANTS global permissions for the default warehouse and namespace, plus the MONITOR privilege on each user secret and database.
To enable public key authentication for a Snowflake user, execute the following ALTER USER command. A user with the ACCOUNTADMIN role must perform this operation:
ALTER USER <SNOWFLAKEUSER> SET RSA_PUBLIC_KEY='MIIBIj...';
Tip: When setting the 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.
Find your account identifier by navigating in the Snowflake console to your account, selecting your user, and finding the alphanumeric code listed under Locator.
That’s it! Next, move on to the connector configuration instructions.
The Connector Administrator or Super Administrator role in C1
Access to the set of Snowflake credentials generated by following the instructions above
Cloud-hosted
Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by 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
Click Save.
13
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
That’s it! Your Snowflake connector is now pulling access data into C1.
Follow these instructions to use the Snowflake connector, hosted and run in your own environment.When running in service mode on Kubernetes, a self-hosted connector maintains an ongoing connection with C1, automatically syncing and uploading data at regular intervals. This data is immediately available in the C1 UI for access reviews and access requests.
In C1, navigate to Integrations > Connectors > Add connector.
2
Search for Baton 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
In the Settings area of the page, click Edit.
7
Click Rotate to generate a new Client ID and Secret.Carefully copy and save these credentials. We’ll use them in Step 2.
Create a namespace in which to run C1 connectors (if desired), then apply the secret config and deployment config files.
2
Check that the connector data uploaded correctly. In C1, click Apps. On the Managed apps tab, locate and click the name of the application you added the Snowflake connector to. Snowflake data should be found on the Entitlements and Accounts tabs.
That’s it! Your Snowflake connector is now pulling access data into C1.
If you’re seeing a 422 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.
User fields (LOGIN, DISPLAY_NAME, etc.) are empty in synced data
If user records are syncing but fields such as LOGIN, 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 GRANTS privilege is granted directly to the service account user (not inherited via a role). Use the following steps to grant the privilege directly:
USE ROLE ACCOUNTADMIN;GRANT MANAGE GRANTS ON ACCOUNT TO USER <SERVICE ACCOUNT>;