SYSTEM$GET_STAGE_PRIVATELINK_AUTHORIZED_ENDPOINTS
functionnot supportedIntegrations, network & secretsBusiness Critical+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
- Only account administrators (that is, users with the ACCOUNTADMIN role) can call this function.
- This function is supported on Microsoft Azure and Google Cloud. It is not supported on Amazon Web Services (AWS) because, on AWS, private connectivity to internal stages is established through a VPC endpoint to the entire Amazon S3 service in the region rather than to an individual storage account or bucket. As a result, no per-account list of authorized private connectivity sources is available to return. For more information about how internal stage private connectivity works on AWS, see AWS VPC interface endpoints for internal stages.
Access control requirements
Only account administrators (users with the ACCOUNTADMIN role) can call this function.