SYSTEM$AUTHORIZE_PRIVATELINK
functionnot supportedIntegrations, network & secretsBusiness Critical+Enables private connectivity to the Snowflake service for the current account. This function requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.
Syntax
AWS
SYSTEM$AUTHORIZE_PRIVATELINK( '<aws_id>' , '<federated_token>' )
Azure
SYSTEM$AUTHORIZE_PRIVATELINK( '<private-endpoint-resource-id>' , '<federated_token>' )
GCP
SYSTEM$AUTHORIZE_PRIVATELINK( '<gcp_project_id>' , '<access_token>' )
Parameters
| Name | Required | Description |
|---|---|---|
'aws_id' | required | The 12-digit identifier that uniquely identifies your Amazon Web Services (AWS) account, as a string. |
'private-endpoint-resource-id' | required | The identifier that uniquely identifies your Snowflake account in Microsoft Azure (Azure) as a string. |
'federated_token' | required | The federated token value that contains access credentials for a federated user as a string. To obtain this value, execute the appropriate command for the cloud platform that hosts your Snowflake account. Use the command-line tool provided by the platform: For Snowflake on AWS: Copy code aws sts get-federation-token --name sam For Snowflake on Azure: Copy code az account get-access-token --subscription <SubscriptionID> Where:
|
'gcp_project_id' | required | The identifier that uniquely identifies your Google Cloud (GCP) project, as a string. |
'access_token' | required | The access token value that contains access credentials for a Google Cloud user as a string. |
Usage notes
- Only account administrators (i.e. users with the ACCOUNTADMIN role) can execute this function.
- This function can be used with Snowflake accounts on AWS or Azure; Google Cloud Platform (GCP) is not currently supported.
- Call the SYSTEM$GET_PRIVATELINK function to verify whether your Snowflake account is authorized to use private connectivity to the Snowflake service.
- Call the SYSTEM$REVOKE_PRIVATELINK function disable your Snowflake account to use private connectivity to the Snowflake service.