连接到账户
This topic provides the URL and account identifier formats that you use to connect to the Snowflake accounts in your organization.
Note
If you are an organization administrator and want to delete old URLs for an account that has changed, see Managing account URLs.
连接到 Snowflake Web 界面¶
To connect to Snowsight using your web browser, see Signing in to Snowsight.
与 URL 连接¶
Snowflake 支持多种 URL 格式,无需浏览器即可连接到 Snowflake 账户。例如,身份提供商可能会使用直接 URL 与 Snowflake 通信。
- The account name format uses the name of the account and its organization to identify the account. To find the name of your organization and account, see Finding the organization and account name for an account.
- The connection name format, which replaces the account name with the name of a connection, is required when using the Client Redirect feature. To find the name of your connection, execute the SHOW CONNECTIONS command.
- 目前支持旧版 账户定位器 格式,但不鼓励使用它。
标准账户 URLs¶
标准 URL 格式可用于大多数需要 Snowflake账户 URL 的情况,包括:
- SSO connections (except Okta)
- SCIM base URL (except Okta)
- OAuth connections with third-party identity providers (except Okta)
- OAuth 基础 URL 用于 Snowflake 授权服务器
标准 URL 格式包括:
- Account name:
https://<orgname>-<account_name>.snowflakecomputing.cn- Connection name:
https://<orgname>-<connectionname>.snowflakecomputing.cn- Account locator (legacy):
https://<accountlocator>.<region>.<cloud>.snowflakecomputing.cn
专用连接 URLs¶
When connecting to Snowflake using private connectivity to the Snowflake service (e.g. AWS PrivateLink), the string privatelink must be
appended to the account identifier in the Snowflake account URL.
- Account Name:
https://<orgname>-<account_name>.privatelink.snowflakecomputing.cn- Connection Name:
https://<orgname>-<connectionname>.privatelink.snowflakecomputing.cn- Account Locator (legacy):
https://<account_locator>.<region>.privatelink.snowflakecomputing.cn
请注意,要使用专用连接,需要更新 DNS 记录,使其包含专用连接 URL。有关更多信息,请参阅:
- AWS PrivateLink CNAME Records.
- Azure Private Link DNS setup in the configuration procedure.
- Google Cloud Private Service Connect DNS setup in Step 8.
Okta URLs¶
将 Okta 用于 SSO、SCIM 或 OAuth 时,如果账户名称包含下划线,则必须使用特殊的账户名称格式。因为 Okta 不支持 URLs 中的下划线,账户名称中的下划线必须转换为连字符。
- Account name:
https://<orgname>-<account-name>.snowflakecomputing.cn- 连接名称:使用标准 URL
- 账户定位器(旧版):使用标准 URL
从客户端、连接器和驱动程序连接
See Configuring a client, driver, library, or third-party application to connect to Snowflake.
向后兼容性
仍然支持在账户标识符或账户 URL 中使用旧版账户定位器,但不鼓励使用。