envs

Snowflake — CLI and connections

snowflake/cli · version 1

envs add snowflake/cli

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
SNOWFLAKE_ACCOUNT required config Which account to reach. An identifier that authenticates nothing on its own.. where to get it
SNOWFLAKE_USER required secret Half of the login, so it is kept with the other half.. where to get it
SNOWFLAKE_PASSWORD optional secret Snowflake recommends this variable over writing the password into a configuration file, which is one of several authentication paths rather than the only one.. where to get it
SNOWFLAKE_PRIVATE_KEY_FILE optional secret A path to a private key, for key-pair authentication. Snowflake supports rotating the public key in place for this path, which the password path has no equivalent of.. where to get it
SNOWFLAKE_PRIVATE_KEY_RAW optional secret The same key as text rather than a path. Set one or the other.. where to get it
SNOWFLAKE_TOKEN optional secret For OAuth rather than a password or a key.. where to get it

The JSON the CLI reads