SYSTEM$ALLOWLIST
functionsupportedIntegrations, network & secretsReturns host names and port numbers to add to your firewall’s allowed list so that you can access Snowflake from behind your firewall. The output of this function can then be passed into SnowCD. Typically, Snowflake customers use a firewall to prevent unauthorized access. By default, your firewall might block access to Snowflake. To update your firewall’s allowed list, you need to know the host names and port numbers for the URL for your Snowflake account, stages, and other hosts used by Snowflake. For more details about the allowed listing for the Snowflake clients you use, see Allowing Host names.
Syntax
SYSTEM$ALLOWLIST()
Returns
The data type of the returned value is VARIANT. The value is an array of JSON structures. Each JSON structure contains three key/value pairs:
Usage notes
- The output might include multiple entries for certain types (e.g. STAGE, OCSP_RESPONDER).
- Occasionally, Snowflake cannot resolve the socket connection from the client that calls the function, and the statement that calls the function fails with one of the following error messages: SYSTEM$ALLOWLIST: Fail to get SSL context SYSTEM$ALLOWLIST: SSLContext init failed SYSTEM$ALLOWLIST: Could not find host in OCSP dumping SYSTEM$ALLOWLIST: Peer unverified SYSTEM$ALLOWLIST: Connection failure Additionally, Snowflake returns an empty list for the OCSP fields in the function output. To troubleshoot, you can wait a few minutes and rerun the statement if the network connection is transient. If the issue persists, contact Snowflake Support.