DOCUMENTATION
/
Getting Started
Guides
Developer
Reference
Releases
Tutorials
Snowflake Open Catalog
Status
  1. Overview
    • Builders
    • Snowflake DevOps
      • Observability
        • Snowpark Library
        • Snowpark API
        • 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
                          • Integrating CI/CD with Snowflake CLI
                            • Command reference
                                1. snow command
                                  • Bootstrap commands
                                  • Connection commands
                                      1. connection add
                                        • connection generate-jwt
                                          • connection list
                                            • connection set-default
                                              • connection test
                                            • Cortex 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
                                    • Git
                                    • Drivers
                                    • Overview
                                    • Considerations when drivers reuse sessions
                                      • Reference
                                      • API Reference
                                        DeveloperSnowflake CLICommand referenceConnection commands

                                        snow connection commands¶

                                        Feature — Generally Available

                                        Not available in government regions.

                                        Snowflake CLI supports the following commands for managing Snowflake connections:

                                        • snow connection add

                                        • snow connection generate-jwt

                                        • snow connection list

                                        • 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 Terms© 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