connection list

Lists configured connections.

Syntax

snow connection list
  --format <format>
  --verbose
  --debug
  --silent
Copy

Arguments

None

Options

--format [TABLE|JSON]

Specifies the output format.

--verbose, -v

Displays log entries for log levels info and higher.

--debug

Displays log entries for log levels debug and higher; debug logs contains additional information.

--silent

Turns off intermediate output to console.

--help

Displays the help text for this command.

Usage notes

The snow connection list command lists the connections in your default config.toml file. For more information, see Connecting to Snowflake and configuring Snowflake CLI.

Examples

snow connection list
Copy
+--------------------------------------------------------------------------------------------------------------------------------+
| connection_name | parameters                                                                                                   |
|-----------------+--------------------------------------------------------------------------------------------------------------|
| my-prod         | {'account': 'po52878', 'user': 'JDOE', 'password': '****', 'role': 'integration_tests', 'database':          |
|                 | 'SNOWFLAKE'}                                                                                                 |
|-----------------+--------------------------------------------------------------------------------------------------------------|
| my-test         | {'account': 'po52878', 'user': 'SSMITH', 'password': '****', 'role': 'integration_tests', 'database':        |
|                 | 'SNOWFLAKE'}                                                                                                 |
+--------------------------------------------------------------------------------------------------------------------------------+