Partner allowlist
Snowflake IP allowlist from CI
Snowflake allows connections from anywhere until a security administrator attaches a network policy. The allowed list is the whitelist. CI fails the moment that policy does not contain the runner's address, and a policy that contains only a laptop will lock the warehouse away from the jobs that load it.
. If a provider has moved a setting, their documentation is the authority.
What to configure
New policies should use network rules, then attach those rules to the policy's allowed and blocked lists. ALLOWED_IP_LIST still works and is IPv4 only. IPv6 belongs in a network rule with the matching type. Snowflake evaluates blocked entries first when an address appears on both lists. Do not mix the old parameters and network rules in one policy if you can avoid it; Snowflake's docs tell you to pick rules for anything new.
A policy can sit on the account or on a user. An account policy is the blunt instrument. A user policy is how you let a loader in from CI while humans come from a different range. Private Link is the alternative that takes the public allowlist out of the path, and it requires the client to be on that private network. GitHub-hosted runners are not.
Adding a CI address without locking the account
- 1Before you attach anything to the account, include an address you personally have, and confirm it. Snowflake rejects an account policy that would exclude the session applying it. That check will not save a colleague whose IP you forgot.
- 2Give CI a stable egress address from the Actions comparison. Create a network rule for those addresses and add it to the allowed list of a policy on the CI user, rather than opening the whole account if the rest of the company is not ready.
- 3If the runner can egress over IPv6, add an IPv6 rule too. An allowlist that is only IPv4 silently fails for a client that preferred v6.
- 4Apply the policy, run the workflow, and try a connection from an address outside the rule. The refusal is the test that the whitelist is in force.
- 5Keep the admin path off the CI NAT. A compromised runner should not be a network-policy bypass for interactive users.
What the policy is evidence of
A network policy is evidence of a source address. Combined with a user and a key, it is evidence that someone holding that key came from that address. It is not evidence of which workflow ran. Jobs that share the user and the egress IP are indistinguishable in Snowflake's network decision. Naming the workload at the gateway, and refusing the connection when the policy there does not allow that destination, is the record the network policy does not keep.
Sources
Related
The network policy sees an address. You still need the workflow's name.
Proofbound is in development so the address on a Snowflake network policy is one your organization owns, used by workloads that passed policy, with each connection recorded. Snowflake's own authentication is unchanged.
One email when early access opens.