For the complete documentation index, see llms.txt. This page is also available as Markdown.

❄️Snowflake

Step 1: Create a New User/Role for Arcwise

We recommend creating a separate Snowflake user & role for Arcwise access to have better visibility and granular access management. (It’s possible to skip to step 2 and provide an existing set of credentials instead).

(Optional) Allow connection from Arcwise IP address

If you need to add a fixed IP address to your allowlist or network policy, please refer to our Arcwise Fixed IP Address page.

Generate a key-pair for service authentication

Currently we support Snowflake key-pair authentication, that requires an RSA key pair with the following properties:

  • RSA key size of at least 2048 bits.

  • Private key encoded as unencrypted PKCS#8 PEM.

  • Public key encoded as PEM.

  • The private key must remain secret. Only add the public key to Snowflake.

You may generate and manage the key pair using your organization’s preferred security tooling. The following OpenSSL commands are examples:

# Example: generate an unencrypted PKCS#8 private key
openssl genrsa 2048 |
  openssl pkcs8 -topk8 -nocrypt -out arcwise_private_key.p8

# Example: derive the corresponding public key
openssl pkey \
  -in arcwise_private_key.p8 \
  -pubout \
  -out arcwise_public_key.pem

# Example: copying the public key to be added on Snowflake
sed '/PUBLIC KEY/d' arcwise_public_key.pem | tr -d '\n'

Creating a new user/role

We've provided a script here to help with role and user creation. You can paste this directly into Snowsight if you have SYSADMIN or ACCOUNTADMIN privileges.

By default, this will allow the Arcwise role to access all schemas in $database_name, but this can be restricted if preferred (see highlighted GRANT USAGE ON SCHEMA below). Be sure that each query runs successfully!

By default the above commands will not give the SYSADMIN role access to data managed by Arcwise. To have the Arcwise role inherit from SYSADMIN and therefore grant that role full access run the following command:

Step 2: Add Snowflake credentials in Arcwise

  1. Go to the “Connections” tab in the Arcwise admin panel (https://admin.arcwise.app/#/warehouse_connections)

  2. Click on the “Create” button to add the first connection.

  3. Fill out the credentials based on the variables you filled in above. Additional instructions can be found on the form.

All credentials are stored securely using bank-level (256-bit) encryption. Once you hit Save and the connection has been added, you can switch over to the “Tables” tab to see all the tables that will be exposed in Arcwise.

Last updated