Skip to content

Commit 0ad50ed

Browse files
committed
add snowsql verification steps [netlify-build]
1 parent 8c3a3ab commit 0ad50ed

File tree

1 file changed

+15
-2
lines changed
  • src/connections/storage/catalog/snowflake

1 file changed

+15
-2
lines changed

src/connections/storage/catalog/snowflake/index.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,27 @@ GRANT ROLE "SEGMENT" TO USER "SEGMENT_USER";
139139
Before you continue, test and validate the new user and credentials. After you verify the new credentials, you can connect Snowflake to Segment.
140140

141141
#### Test a key pair
142-
To verify that you've configured the key pair correctly, follow Snowflake's instructions in the [Verify the user's public key fingerprint](https://docs.snowflake.com/en/user-guide/key-pair-auth#verify-the-user-s-public-key-fingerprint){:target="_blank"} documentation.
142+
Segment uses [SnowSQL](https://docs.snowflake.com/en/user-guide/snowsql){:target="_blank"} to run these verification steps.
143+
To install SnowSQL and verify your accounts:
144+
145+
1. Download [SnowSQL](https://docs.snowflake.com/en/user-guide/snowsql){:target="_blank"}
146+
2. Open the Installer and follow instructions.
147+
3. When the installation is complete, run the following command, replacing "account" and "user" with your Snowflake Account ID and username:
148+
149+
```
150+
snowsql -a segment -u <username> -d <Database> -w <warehouse> --private-key-path <path_to_the_rsa_key_encrypted.p8>
151+
```
152+
153+
For accounts outside the US, the account ID includes the region. You can find your account name from the browser address string.
154+
155+
For example, if your web address is `https://myaccountname.snowflakecomputing.com/console#/internal/worksheet`, your account name would be `myaccountname`.
143156

144157
#### Test a username and password
145158
Segment uses [SnowSQL](https://docs.snowflake.com/en/user-guide/snowsql){:target="_blank"} to run these verification steps.
146159
To install SnowSQL and verify your accounts:
147160

148161
1. Download [SnowSQL](https://docs.snowflake.com/en/user-guide/snowsql){:target="_blank"}
149-
2. Open the Installer and follow instructions
162+
2. Open the Installer and follow instructions.
150163
3. When the installation is complete, run the following command, replacing "account" and "user" with your Snowflake Account ID and username:
151164

152165
```

0 commit comments

Comments
 (0)