Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs: add network section and remove unused image

adilson4eb874610683
diff --git a/docs/documentation/platform/dynamic-secrets/snowflake.mdx b/docs/documentation/platform/dynamic-secrets/snowflake.mdx
index 59015f325c..735854ec88 100644
--- a/docs/documentation/platform/dynamic-secrets/snowflake.mdx
+++ b/docs/documentation/platform/dynamic-secrets/snowflake.mdx
@@ -37,6 +37,27 @@ Dashboard](/images/platform/dynamic-secrets/snowflake/dynamic-secret-create-user
</Note>
</Step>
+ <Step title="Create a network policy">
+ Programmatic Access Tokens require an attached network policy that defines the IPs allowed to authenticate as this user.
+
+
+ ![Go into workspace](/images/app-connections/snowflake/step-4-workspace.png)
+ ![Create network policy](/images/app-connections/snowflake/step-4.png)
+
+
+ ```SQL
+ CREATE NETWORK POLICY PREVIOUSLY_CREATED_USER
+ ALLOWED_IP_LIST = ('0.0.0.0/0')
+ COMMENT = 'Allow access from any IP';
+
+ ALTER USER INFISICAL set NETWORK_POLICY = 'PREVIOUSLY_CREATED_USER';
+ ```
+
+ <Warning>
+ Be careful with the IPs you allow in your network policy. Using `0.0.0.0/0` allows access from **any IP address**, which can be dangerous in production. Prefer restricting the list to only the IP ranges that should be allowed to authenticate (for example, your corporate NAT(s) and/or Infisical's outbound IPs if you have them).
+ </Warning>
+ </Step>
+
<Step title="Generate a Programmatic Access Token">
Select the **Governance & Security** tab and click on **Users & roles**. Then select the user you created in the previous step.
diff --git a/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-create-user-modal.png b/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-create-user-modal.png
deleted file mode 100644
index 1d4cab4c17..0000000000
Binary files a/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-create-user-modal.png and /dev/null differ
diff --git a/docs/integrations/app-connections/snowflake.mdx b/docs/integrations/app-connections/snowflake.mdx
index 02e7bea6f0..2d3be200c2 100644
--- a/docs/integrations/app-connections/snowflake.mdx
+++ b/docs/integrations/app-connections/snowflake.mdx
@@ -68,9 +68,9 @@ Infisical supports connecting to Snowflake using a **Username** and a **Programm
ALTER USER INFISICAL set NETWORK_POLICY = 'INFISICAL_SYNC_POLICY';
```
- <Note>
+ <Warning>
Be careful with the IPs you allow in your network policy. Using `0.0.0.0/0` allows access from **any IP address**, which can be dangerous in production. Prefer restricting the list to only the IP ranges that should be allowed to authenticate (for example, your corporate NAT(s) and/or Infisical's outbound IPs if you have them).
- </Note>
+ </Warning>
</Step>
<Step title="Generate a Programmatic Access Token">
Open the **Programmatic access tokens** tab and click **Generate new token**. Give the token a descriptive name (e.g. `infisical`) and configure its expiration and role restrictions according to your security policy.