SYSTEM$GET_STAGE_PRIVATELINK_AUTHORIZED_ENDPOINTS

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Returns the list of private connectivity sources that have been authorized to access the internal stage of the current account through previous calls to SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESS. Use this function to verify which sources are currently authorized. The exact contents of the returned list depend on the cloud provider that hosts your Snowflake account: - On Microsoft Azure, the function returns the authorized private endpoints along with the approval status of each endpoint connection. - On Google Cloud, the function returns the authorized VPC networks along with the IP CIDR ranges that are allowed to reach the internal stage through each VPC network. This function requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.

Syntax

SYSTEM$GET_STAGE_PRIVATELINK_AUTHORIZED_ENDPOINTS()

Returns

Returns a JSON-formatted string containing a list of objects. The fields in each object depend on the cloud provider. If no sources are authorized for the current account, the function returns an empty list ([]). Azure Each object describes one authorized private endpoint connection and contains the following string fields: Google Cloud Each object describes one authorized VPC network and contains the following string fields:

Usage notes

Access control requirements

Only account administrators (users with the ACCOUNTADMIN role) can call this function.

See also