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
docs: app conneciton
adilson9a9235ce766f
diff --git a/docs/docs.json b/docs/docs.jsonindex c8703ba396..bd5f07654b 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -156,6 +156,7 @@"integrations/app-connections/railway","integrations/app-connections/redis","integrations/app-connections/render",+ "integrations/app-connections/snowflake","integrations/app-connections/supabase","integrations/app-connections/teamcity","integrations/app-connections/terraform-cloud",diff --git a/docs/integrations/app-connections/snowflake.mdx b/docs/integrations/app-connections/snowflake.mdxnew file mode 100644index 0000000000..bc42d6a344--- /dev/null+++ b/docs/integrations/app-connections/snowflake.mdx@@ -0,0 +1,112 @@+---+title: "Snowflake Connection"+description: "Learn how to configure a Snowflake Connection for Infisical."+---++Infisical supports connecting to Snowflake using a **Username** and a **Programmatic Access Token (PAT)**. PATs are scoped, revocable credentials that authenticate as a Snowflake user without exposing the user's password.++## Prerequisites++- A [Snowflake account](https://app.snowflake.com/) with permission to create Programmatic Access Tokens.+- The **account identifier** for your Snowflake instance (e.g. `xy12345.us-east-1`). You can find it in the Snowflake URL you sign in to (`https://<account-identifier>.snowflakecomputing.com`) or under **Admin → Accounts** in Snowsight.++## Create a Snowflake Programmatic Access Token++<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**.++ + </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>++<Tip>+ Create a dedicated Snowflake user (or role) for Infisical rather than reusing a personal account. This keeps the connection's blast radius small and makes it easy to rotate or revoke access independently.+</Tip>++## Create Snowflake Connection in Infisical++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Navigate to App Connections">+ In your Infisical dashboard, go to **Organization Settings** → **App Connections**.++ + </Step>+ <Step title="Select Snowflake Connection">+ Click **Add Connection** and choose **Snowflake** from the list of available connections.++ + </Step>+ <Step title="Fill out Connection Form">+ Complete the form with:+ - A **name** for the connection (e.g. `snowflake-prod`)+ - An optional **description**+ - The Snowflake **Account** identifier (e.g. `xy12345.us-east-1`)+ - The Snowflake **Username** (login name)+ - The **Programmatic Access Token** generated in the previous section++ + </Step>+ <Step title="Connection Created">+ After clicking **Create**, Infisical validates the credentials by opening a connection to your Snowflake account. Once validated, your **Snowflake Connection** is ready to use.++ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ Create a Snowflake connection via the API.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/app-connections/snowflake \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-snowflake-connection",+ "method": "username-and-token",+ "credentials": {+ "account": "xy12345.us-east-1",+ "username": "<YOUR-SNOWFLAKE-USERNAME>",+ "password": "<YOUR-PROGRAMMATIC-ACCESS-TOKEN>"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "appConnection": {+ "id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",+ "name": "my-snowflake-connection",+ "description": null,+ "version": 1,+ "orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",+ "createdAt": "2025-04-23T19:46:34.831Z",+ "updatedAt": "2025-04-23T19:46:34.831Z",+ "isPlatformManagedCredentials": false,+ "app": "snowflake",+ "method": "username-and-token",+ "credentials": {+ "account": "xy12345.us-east-1",+ "username": "<YOUR-SNOWFLAKE-USERNAME>"+ }+ }+ }+ ```+ </Tab>+</Tabs>