SYSTEM$REGISTER_PRIVATELINK_ENDPOINT

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Registers a private connectivity endpoint to route your connection to the Snowflake service. This feature requires Business Critical (or higher). To inquire about upgrading, contact Snowflake Support.

Syntax

supportedpartialnot supportednot scored

AWS

SYSTEM$REGISTER_PRIVATELINK_ENDPOINT(
  '<aws_private_endpoint_vpce_id>',
  '<aws_account_id>',
  '<token>',
  [ <delay_time> ]
  )

Azure

SYSTEM$REGISTER_PRIVATELINK_ENDPOINT(
  '<azure_private_endpoint_link_id>',
  '<azure_private_endpoint_resource_id>',
  '<token>',
  [ <delay_time> ]
  )

Parameters

NameRequiredDescription
aws_private_endpoint_vpce_idrequiredSpecifies the identifier for your Amazon Web Services (AWS) virtual private cloud endpoint (AWS VPCEID). To obtain the AWS VPCEID value, navigate through the AWS console or use the following command:Copy code aws ec2 describe-vpc-endpoints
aws_account_idrequiredThe 12-digit identifier that uniquely identifies your Amazon Web Services (AWS) account, as a string. To obtain the AWS account ID value, navigate through the AWS console or use the following command:Copy code aws sts get-caller-identity
azure_private_endpoint_link_idrequiredSpecifies the identifier for your Microsoft Azure (Azure) virtual private cloud endpoint link (Azure LinkID). To obtain the Azure LinkID value: Run the SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTS system function.
azure_private_endpoint_resource_idrequiredThe identifier that uniquely identifies your Snowflake account in Microsoft Azure (Azure) as a string. To obtain the Azure private endpoint resource Id, use the following command:Copy code az network private-endpoint list --resource-group my_resource_group
tokenrequiredSpecifies an access token to verify ownership of the private connectivity endpoint. To obtain the token, you must have the corresponding read or describe privilege on the private connectivity endpoint at a minimum. For more information, see: AWS endpoint policies Azure private endpoint privileges To obtain the token, use the following commands: For Snowflake on AWS: Copy code aws sts get-federation-token --name snowflake --policy '{ "Version": "2012-10-17", "Statement" : [ { "Effect": "Allow", "Action": ["ec2:DescribeVpcEndpoints"], "Resource": ["*"] } ] }' For Snowflake on Azure: Copy code az account get-access-token --subscription <subscription_id> For more information about limiting the scope of an access token, see: For Snowflake on AWS: Managing access token scope on Amazon Web Services For Snowflake on Azure: Managing access token scope on Microsoft Azure
delay_timeoptionalSpecifies the number of minutes to wait before enforcing the private endpoint registration. Range: 0 to 1440 minutes (24 hours) 0 minutes: The registration is enforced immediately. Default: 60 (1 hour) For more information about the delay time and enforcement, see Manage enforcement with the delay time argument.

Returns

Returns a status message about the registration of the private connectivity endpoint. If you specify a delay time, the function returns a message stating when the registration will be enforced, with a reminder that when you pin multiple accounts to the same private endpoint the enforcement is based on the earliest registration.

Usage notes