- Categories:
System functions (System Control)
SYSTEM$PROVISION_ PRIVATELINK_ ENDPOINT_ TSS¶
预置 Snowflake VPC 或 VNet 中的专用连接端点,以支持 Snowflake 通过使用专用连接来连接到密钥管理服务 (KMS)。端点可以是服务端点或资源端点,具体取决于托管 Snowflake 账户的云平台。
Note
If the Snowflake account is in an Azure government region, the provider resource ID must be the ID of a resource in a government subscription. For more information about government regions for Snowflake customers, see U.S. SnowGov Regions.
语法
AWS:
Azure:
Google Cloud:
实参
AWS:
provider_service_name在 AWS 中指定要连接的 KMS 服务。
For information about retrieving this value from AWS, see Provision private connectivity endpoints.
Azure:
provider_resource_id在您的 VPC 或 VNet 中指定 Azure Key Vault 的完全限定标识符。
Google Cloud:
target_service_idSpecifies the KMS service in Google Cloud to connect to.
host_nameSpecifies the fully-qualified hostname to access the KMS resource in your VPC, VNet, or PSC network.
此值不包含任何端口号,并且必须与您在 Snowflake 对象中指定的内容匹配,以便您能够连接到 KMS。
返回
返回端点已成功配置的状态信息,或返回端点未成功配置的详细信息和说明。
访问控制要求
只有被授予该账户 MODIFY 权限的用户才能调用此函数。MODIFY 权限通常仅授予该 ACCOUNTADMIN 角色。
使用说明
- You cannot modify an existing private connectivity endpoint; you must deprovision the endpoint, then provision a new one. To deprovision the endpoint, call the SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT_TSS system function.
- This function can take approximately 5 minutes to execute because it depends on the process to provision the private connectivity endpoint in the cloud platform (outside of Snowflake).
- For details about private endpoint limits, see Scaling considerations.
示例
AWS:
设置到外部 KMS 资源的出站专用连接:
Azure:
Provision a private endpoint on Microsoft Azure for TSS
Google Cloud: