Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
add images into docs
adilson08f574fb1dca
diff --git a/docs/images/app-connections/snowflake/snowflake-app-connection-created.png b/docs/images/app-connections/snowflake/snowflake-app-connection-created.pngnew file mode 100644index 0000000000..cf1885d38fBinary files /dev/null and b/docs/images/app-connections/snowflake/snowflake-app-connection-created.png differdiff --git a/docs/images/app-connections/snowflake/snowflake-app-connection-form.png b/docs/images/app-connections/snowflake/snowflake-app-connection-form.pngnew file mode 100644index 0000000000..8d6d58b1c8Binary files /dev/null and b/docs/images/app-connections/snowflake/snowflake-app-connection-form.png differdiff --git a/docs/images/app-connections/snowflake/snowflake-app-connection-option.png b/docs/images/app-connections/snowflake/snowflake-app-connection-option.pngnew file mode 100644index 0000000000..c751b94c99Binary files /dev/null and b/docs/images/app-connections/snowflake/snowflake-app-connection-option.png differdiff --git a/docs/images/app-connections/snowflake/step-1.png b/docs/images/app-connections/snowflake/step-1.pngnew file mode 100644index 0000000000..5d7dd1764fBinary files /dev/null and b/docs/images/app-connections/snowflake/step-1.png differdiff --git a/docs/images/app-connections/snowflake/step-2.png b/docs/images/app-connections/snowflake/step-2.pngnew file mode 100644index 0000000000..d972f320ddBinary files /dev/null and b/docs/images/app-connections/snowflake/step-2.png differdiff --git a/docs/images/app-connections/snowflake/step-3.png b/docs/images/app-connections/snowflake/step-3.pngnew file mode 100644index 0000000000..180256866bBinary files /dev/null and b/docs/images/app-connections/snowflake/step-3.png differdiff --git a/docs/images/app-connections/snowflake/step-4-workspace.png b/docs/images/app-connections/snowflake/step-4-workspace.pngnew file mode 100644index 0000000000..1809d57eb1Binary files /dev/null and b/docs/images/app-connections/snowflake/step-4-workspace.png differdiff --git a/docs/images/app-connections/snowflake/step-4.png b/docs/images/app-connections/snowflake/step-4.pngnew file mode 100644index 0000000000..cdeb31cdbdBinary files /dev/null and b/docs/images/app-connections/snowflake/step-4.png differdiff --git a/docs/images/app-connections/snowflake/step-5.png b/docs/images/app-connections/snowflake/step-5.pngnew file mode 100644index 0000000000..9841913bb0Binary files /dev/null and b/docs/images/app-connections/snowflake/step-5.png differdiff --git a/docs/images/app-connections/snowflake/step-6.png b/docs/images/app-connections/snowflake/step-6.pngnew file mode 100644index 0000000000..9182643533Binary files /dev/null and b/docs/images/app-connections/snowflake/step-6.png differdiff --git a/docs/images/secret-syncs/snowflake/select-option.png b/docs/images/secret-syncs/snowflake/select-option.pngnew file mode 100644index 0000000000..f59dab36f2Binary files /dev/null and b/docs/images/secret-syncs/snowflake/select-option.png differdiff --git a/docs/images/secret-syncs/snowflake/sync-created.png b/docs/images/secret-syncs/snowflake/sync-created.pngnew file mode 100644index 0000000000..19a6d8bd50Binary files /dev/null and b/docs/images/secret-syncs/snowflake/sync-created.png differdiff --git a/docs/images/secret-syncs/snowflake/sync-destination.png b/docs/images/secret-syncs/snowflake/sync-destination.pngnew file mode 100644index 0000000000..4aa50c97ccBinary files /dev/null and b/docs/images/secret-syncs/snowflake/sync-destination.png differdiff --git a/docs/images/secret-syncs/snowflake/sync-details.png b/docs/images/secret-syncs/snowflake/sync-details.pngnew file mode 100644index 0000000000..0dced209ddBinary files /dev/null and b/docs/images/secret-syncs/snowflake/sync-details.png differdiff --git a/docs/images/secret-syncs/snowflake/sync-options.png b/docs/images/secret-syncs/snowflake/sync-options.pngnew file mode 100644index 0000000000..364c9e4f75Binary files /dev/null and b/docs/images/secret-syncs/snowflake/sync-options.png differdiff --git a/docs/images/secret-syncs/snowflake/sync-source.png b/docs/images/secret-syncs/snowflake/sync-source.pngnew file mode 100644index 0000000000..d5622730fbBinary files /dev/null and b/docs/images/secret-syncs/snowflake/sync-source.png differdiff --git a/docs/integrations/app-connections/snowflake.mdx b/docs/integrations/app-connections/snowflake.mdxindex bc42d6a344..a0a4fe2bec 100644--- a/docs/integrations/app-connections/snowflake.mdx+++ b/docs/integrations/app-connections/snowflake.mdx@@ -14,19 +14,55 @@ Infisical supports connecting to Snowflake using a **Username** and a **Programm<Steps><Step title="Open Snowsight User Settings">- In [Snowsight](https://app.snowflake.com/), open the user menu in the bottom-left corner and select **My profile**.+ In [Snowsight](https://app.snowflake.com/), open the side bar menu and select **User & Roles** under **Governance & Security**.</Step>++ <Step title="Create a new User">+ Click **Create user** in the top-right corner.++ + </Step>++ <Step title="Configure user details and role">+ Provide a **Username** and assign a role. The role must have permission to create and manage secrets in the target database. The snippet below grants the minimum required privileges (alternatively, assign the **ACCOUNTADMIN** role).++ ```SQL+ -- Grant INFISICAL user access to SECRET_SYNC_TEST+ CREATE ROLE IF NOT EXISTS INFISICAL_ROLE;+ GRANT ROLE INFISICAL_ROLE TO USER INFISICAL;++ GRANT ALL PRIVILEGES ON DATABASE SECRET_SYNC_TEST TO ROLE INFISICAL_ROLE;+ GRANT ALL PRIVILEGES ON SCHEMA SECRET_SYNC_TEST.PUBLIC TO ROLE INFISICAL_ROLE;+ GRANT ALL PRIVILEGES ON ALL SECRETS IN SCHEMA SECRET_SYNC_TEST.PUBLIC TO ROLE INFISICAL_ROLE;+ GRANT ALL PRIVILEGES ON FUTURE SECRETS IN SCHEMA SECRET_SYNC_TEST.PUBLIC TO ROLE INFISICAL_ROLE;+ ```++ + </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.++ ```SQL+ CREATE NETWORK POLICY INFISICAL_SYNC_POLICY+ ALLOWED_IP_LIST = ('0.0.0.0/0')+ COMMENT = 'Allow access from any IP';+ ```++ + + </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.- + </Step><Step title="Copy the Token">Copy the generated token. Snowflake only displays it once — store it somewhere secure for the next step.- + </Step></Steps>diff --git a/docs/integrations/secret-syncs/snowflake.mdx b/docs/integrations/secret-syncs/snowflake.mdxindex 5db02da9a8..fa61ce956f 100644--- a/docs/integrations/secret-syncs/snowflake.mdx+++ b/docs/integrations/secret-syncs/snowflake.mdx@@ -13,19 +13,23 @@ description: "Learn how to configure a Snowflake Sync for Infisical."<Info>Snowflake Sync writes Infisical secrets as native Snowflake secrets of type- `GENERIC_STRING` (created via `CREATE OR REPLACE SECRET`). This sync is- **push-only** — Infisical does not import existing Snowflake secrets back- into your project.+ `GENERIC_STRING` (created via `CREATE OR REPLACE SECRET`).</Info><Tabs><Tab title="Infisical UI">1. Navigate to **Project** > **Integrations** and select the **Secret Syncs** tab. Click on the **Add Sync** button.+ 2. Select the **Snowflake** option.+ +3. Configure the **Source** from where secrets should be retrieved, then click **Next**.+ ++- **Environment**: The project environment to retrieve secrets from.- **Secret Path**: The folder path to retrieve secrets from.@@ -35,6 +39,8 @@ description: "Learn how to configure a Snowflake Sync for Infisical."4. Configure the **Destination** to where secrets should be deployed, then click **Next**.+ +- **Snowflake Connection**: The Snowflake Connection to authenticate with.- **Database**: The name of the Snowflake database to write secrets to. The database must already exist.- **Schema**: The name of the Snowflake schema (within the selected database) where secrets will be created. The schema must already exist.@@ -44,6 +50,7 @@ description: "Learn how to configure a Snowflake Sync for Infisical."</Note>5. Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.+ - **Initial Sync Behavior**: Determines how Infisical should resolve the initial sync.- **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.@@ -59,12 +66,18 @@ description: "Learn how to configure a Snowflake Sync for Infisical."6. Configure the **Details** of your Snowflake Sync, then click **Next**.+ +- **Name**: The name of your sync. Must be slug-friendly.- **Description**: An optional description for your sync.7. Review your Snowflake Sync configuration, then click **Create Sync**.+ +8. If enabled, your Snowflake Sync will begin syncing your secrets to the destination schema.+ +</Tab><Tab title="API">To create a **Snowflake Sync**, make an API request to the [Create Snowflake Sync](/api-reference/endpoints/secret-syncs/snowflake/create) API endpoint.diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsxindex d7fb908e75..89f4fc2592 100644--- a/docs/snippets/AppConnectionsBrowser.jsx+++ b/docs/snippets/AppConnectionsBrowser.jsx@@ -461,7 +461,15 @@ export const AppConnectionsBrowser = () => {description:"Learn how to connect Travis CI to pull secrets from Infisical.",category: "CI/CD",- }+ },+ {+ name: "Snowflake",+ slug: "snowflake",+ path: "/integrations/app-connections/snowflake",+ description:+ "Learn how to connect Snowflake to pull secrets from Infisical.",+ category: "Databases",+ },].sort(function (a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());});diff --git a/docs/snippets/SecretSyncsBrowser.jsx b/docs/snippets/SecretSyncsBrowser.jsxindex 8ea3ad9e19..fce92d5bc1 100644--- a/docs/snippets/SecretSyncsBrowser.jsx+++ b/docs/snippets/SecretSyncsBrowser.jsx@@ -46,6 +46,7 @@ export const SecretSyncsBrowser = () => {{"name": "Azure Entra ID SCIM", "slug": "azure-entra-id-scim", "path": "/integrations/secret-syncs/azure-entra-id-scim", "description": "Learn how to sync SCIM provisioning tokens from Infisical to Azure Entra ID.", "category": "Identity & Auth"},{"name": "Infisical", "slug": "external-infisical", "path": "/integrations/secret-syncs/external-infisical", "description": "Learn how to sync secrets from one Infisical instance to another.", "category": "Security"},{"name": "Travis CI", "slug": "travis-ci", "path": "/integrations/secret-syncs/travis-ci", "description": "Learn how to sync secrets from Infisical to Travis CI.", "category": "CI/CD"},+ {"name": "Snowflake", "slug": "snowflake", "path": "/integrations/secret-syncs/snowflake", "description": "Learn how to sync secrets from Infisical to Snowflake.", "category": "Databases"},].sort(function(a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/SnowflakeConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/SnowflakeConnectionForm.tsxindex ba68b5459f..0f9f542459 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/SnowflakeConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/SnowflakeConnectionForm.tsx@@ -72,13 +72,9 @@ export const SnowflakeConnectionForm = ({ appConnection, onSubmit }: Props) => {errorText={error?.message}isError={Boolean(error?.message)}label="Account"- tooltipText="Your Snowflake account identifier (e.g., xy12345.us-east-1)."+ tooltipText="Your Snowflake account identifier.">- <Input- value={value}- onChange={(e) => onChange(e.target.value)}- placeholder="xy12345.us-east-1"- />+ <Input value={value} onChange={(e) => onChange(e.target.value)} /></FormControl>)}/>