Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts | ||
| Account roles | ||
| Databases | ||
| Secrets - RSA public keys |
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 ConductorOne.That’s it! Your Snowflake connector is now pulling access data into ConductorOne.
1
In ConductorOne, navigate to Admin > 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 ConductorOne)
- 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 ConductorOne users. Setting multiple owners is allowed.If you choose someone else, ConductorOne 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.
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.
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: