DOCUMENTATION
/
Get started
Guides
Developer
Reference
Release notes
Tutorials
Status
  1. Overview
    • Builders
    • Snowflake DevOps
      • Observability
        • Snowpark Library
        • Snowpark API
        • Spark workloads on Snowflake
        • Machine Learning
        • Snowflake ML
        • Snowpark Code Execution Environments
        • Snowpark Container Services
        • Functions and procedures
        • Logging, Tracing, and Metrics
        • Snowflake APIs
        • Snowflake Python APIs
        • Snowflake REST APIs
        • SQL API
        • Apps
        • Streamlit in Snowflake
        • Snowflake Native App Framework
        • Snowflake Native SDK for Connectors
        • External Integration
        • External Functions
        • Kafka and Spark Connectors
        • Snowflake Scripting
        • Snowflake Scripting Developer Guide
        • Tools
        • Snowflake CLI
            1. Introduction
              • Installing Snowflake CLI
                • Configuring Snowflake CLI and connecting to Snowflake
                • Bootstrapping a project from a template
                  • Project definition files
                  • Managing Snowflake objects
                    • Managing Snowflake stages
                      • Managing Container Services
                      • Using Snowpark APIs
                      • Working with notebooks
                        • Working with Streamlit in Snowflake
                        • Using Snowflake Native Apps
                        • Executing SQL
                          • Managing Snowflake Git repositories
                          • Managing data pipelines
                          • Integrating CI/CD with Snowflake CLI
                            • Migrating from SnowSQL
                              • Command reference
                                  1. snow command
                                    • Authorization commands
                                    • Bootstrap commands
                                    • Connection commands
                                        1. connection add
                                          • connection generate-jwt
                                            • connection list
                                              • connection remove
                                                • connection set-default
                                                  • connection test
                                                • Cortex commands
                                                • dbt commands
                                                • Git commands
                                                • Helpers commands
                                                • Logs commands
                                                • Notebook commands
                                                • Snowflake Native App commands
                                                • Snowflake object commands
                                                • Snowpark commands
                                                • Snowpark Container Services (spcs) commands
                                                • SQL commands
                                                • Stage commands
                                                • Streamlit commands
                                        2. Git
                                        3. Drivers
                                        4. Overview
                                        5. Considerations when drivers reuse sessions
                                          • Reference
                                          • API Reference
                                            DeveloperSnowflake CLICommand referenceConnection commands

                                            snow connection commands¶

                                            Snowflake CLI supports the following commands for managing Snowflake connections:

                                            • snow connection add

                                            • snow connection generate-jwt

                                            • snow connection list

                                            • snow connection remove

                                            • snow connection set-default

                                            • snow connection test

                                            Was this page helpful?

                                            Visit Snowflake
                                            Join the conversation
                                            Develop with Snowflake
                                            Share your feedback
                                            Read the latest on our blog
                                            Get your own certification
                                            Privacy NoticeSite TermsCookies Settings© 2025 Snowflake, Inc. All Rights Reserved.
                                            1. Snowflake CLI
                                            2. Snowflake CLI command reference
                                            3. snow connection add
                                            4. snow connection list
                                            5. snow connection set-default
                                            6. snow connection test
                                            Language: English
                                            • English
                                            • Français
                                            • Deutsch
                                            • 日本語
                                            • 한국어
                                            • Português