SYSTEM$PROVISION_PRIVATELINK_ENDPOINT_TSS

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Provisions a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to a key management service (KMS) by using private connectivity. The endpoint can be a service endpoint or resource endpoint, depending on the cloud platform that hosts your Snowflake account. 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. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.

Syntax

AWS

SYSTEM$PROVISION_PRIVATELINK_ENDPOINT_TSS(
  '<provider_service_name>',
  '<host_name>'
  )

Azure

SYSTEM$PROVISION_PRIVATELINK_ENDPOINT_TSS(
  '<provider_resource_id>',
  '<host_name>'
  )

Google Cloud

SYSTEM$PROVISION_PRIVATELINK_ENDPOINT_TSS(
  '<target_service_id>',
  '<host_name>'
  )

Parameters

NameRequiredDescription
provider_service_namerequiredSpecifies the KMS service in AWS to connect to. For information about retrieving this value from AWS, see Provision private connectivity endpoints.
provider_resource_idrequiredSpecifies the fully qualified identifier for the Azure Key Vault in your VPC or VNet.
target_service_idrequiredSpecifies the KMS service in Google Cloud to connect to.
host_namerequiredSpecifies the fully-qualified hostname to access the KMS resource in your VPC, VNet, or PSC network. This value does not contain any port numbers and must match what you specified in the Snowflake object that enables you to connect to the KMS.

Returns

Returns a status message that the endpoint was provisioned successfully or details and instructions about why the endpoint was not provisioned successfully.

Usage notes

Access control requirements

Only users granted the MODIFY privilege on the account can call this function. The MODIFY privilege is typically granted only to the ACCOUNTADMIN role.