SYSTEM$GET_SNOWFLAKE_EGRESS_IP_RANGES

functionnot supportedIntegrations, network & secrets

docs.snowflake.com ↗

System functions

Using egress IP addresses you generate with Snowflake, you can allow ingress access from the following Snowflake features: - External access from UDFs and procedures - Snowpark Container Services external access and Snowflake Openflow on Snowpark Container Services - Snowflake Git integration with IP-restricted Git servers Returns a list of egress IP address ranges (as Classless Inter-Domain Routing (CIDR) IP addresses) that you can use to represent Snowflake in a server’s IP allowlist. Use this function to obtain a list of egress IP address ranges with which to allow Snowflake traffic on external servers. You can add IP addresses from the list to the allowlist on an external server from which Snowflake makes requests. For example, you can allow requests by user-defined functions (UDFs) deployed on Snowflake to access resources on an external server. To do this, you add Snowflake egress IP addresses to the network firewall for your server. Addresses in the returned list expire. You can automate refreshes from the list as described in Securing ingress of Snowflake requests with egress IP addresses.

Syntax

supportedpartialnot supportednot scored

SYSTEM$GET_SNOWFLAKE_EGRESS_IP_RANGES( [ <hideAnnotations> ] )

Parameters

NameRequiredDescription
hideAnnotationsoptionalBOOLEAN. Available in Azure regions. When TRUE, the function omits the inline comments from the JSON output. When FALSE or omitted, Azure output includes those comments. Default: FALSE

Returns

Returns JSON containing a list of CIDR IP addresses, effective date, and an expiration date for each address. The following example shows what the return value looks like: Additionally, in Azure regions you see a more detailed output: To hide inline comments, pass TRUE for the optional hideAnnotations argument: On Azure, the output includes the standard ipv4_prefix, effective, and expires fields. The output also includes two additional fields: - published: The date when Snowflake published this IP range. Refresh your allowlist if you last updated it before this date. - usage: An array that describes how Snowflake uses the range. A single prefix can list more than one value. Typical values are: Network Identifier - use for Azure services such as Storage, Key Vault: Allowlist these prefixes on Azure Storage and Azure Key Vault when your Snowflake account is on Azure. For more information, see Use Snowflake Network Identifiers in Azure allowlists for Azure Storage and Azure Key Vault (August 2026) (Pending). - Stable Egress IP - use for endpoints hosted outside of Azure: Allowlist these prefixes on customer-hosted servers and other endpoints that aren’t Azure PaaS. For a scenario table, see Choose which IP ranges to allowlist.

Usage notes