SYSTEM$REVOKE_PRIVATELINK

functionnot supportedIntegrations, network & secrets

docs.snowflake.com ↗

System functions

Disables private connectivity to the Snowflake service for the current account.

Syntax

AWS

SYSTEM$REVOKE_PRIVATELINK( '<aws_id>' , '<federated_token>' )

Azure

SYSTEM$REVOKE_PRIVATELINK( '<private-endpoint-resource-id>' , '<federated_token>' )

GCP

SYSTEM$REVOKE_PRIVATELINK( '<gcp_project_id>' , '<access_token>' )

Parameters

NameRequiredDescription
'aws_id'requiredThe 12-digit identifier that uniquely identifies your Amazon Web Services (AWS) account, as a string.
'private-endpoint-resource-id'requiredThe identifier that uniquely identifies the private endpoint in Microsoft Azure (Azure) as a string.
'federated_token'requiredThe 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:
  • SubscriptionID — The unique identifier for your subscription. For example: 13c... To obtain this value, execute the following Azure CLI command in your command-line environment:Copy code az account list --output table Note the output value in the SubscriptionID column, which is truncated in this example: Name CloudName SubscriptionId State IsDefault ------- ---------- ------------------------------------ ------- ---------- MyCloud AzureCloud 13c... Enabled True
'gcp_project_id'requiredThe identifier that uniquely identifies your Google Cloud (GCP) project, as a string.
'access_token'requiredThe access token value that contains access credentials for a Google Cloud user as a string.

Usage notes

See also

Referenced by