On this page
Kater CLI Set up init
kater init connection
Connects Kater to your Snowflake warehouse.
This is step 1 of kater init. It tests the sign-in, then stores the credential on Kater’s server. You type a password or a passphrase in a page in your browser, so it never goes into a command.
Examples
# Connect with a key pair. Kater reads the key from the filekater init connection --name snowflake_prod_connection --account myorg-myaccount --warehouse COMPUTE_WH --role SYSADMIN --user kater_service --private-key-file ~/.ssh/kater_key.p8# Connect with a key that has a passphrase. You type the passphrase in your browserkater init connection --name snowflake_prod_connection --account myorg-myaccount --warehouse COMPUTE_WH --user kater_service --private-key-file ~/.ssh/kater_key.p8 --passphrase# Connect with a password. You type the password in your browserkater init connection --name snowflake_prod_connection --account myorg-myaccount --warehouse COMPUTE_WH --user kater_service --passwordOptions
It also takes --help.
How the test works
- Kater checks the account, the sign-in, the warehouse and the role. When a check fails,
error.stagenames it, so you know which value to correct. - When the test passes,
sessiongives the test session’s account, warehouse, role and Snowflake version. - The page for a password or a passphrase runs on this computer. The command waits 10 minutes at most for you to type it. Then it stops, and you run it again.
- Run the step again to change the credential or the settings. The connection keeps its files and its schemas.
It needs the settings:manage permission.