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: added new docs for ssh app connection
=e704ef07d5d1
diff --git a/docs/api-reference/endpoints/app-connections/ssh/available.mdx b/docs/api-reference/endpoints/app-connections/ssh/available.mdxnew file mode 100644index 0000000000..32911fe3b3--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/available.mdx@@ -0,0 +1,4 @@+---+title: "Available"+openapi: "GET /api/v1/app-connections/ssh/available"+---diff --git a/docs/api-reference/endpoints/app-connections/ssh/create.mdx b/docs/api-reference/endpoints/app-connections/ssh/create.mdxnew file mode 100644index 0000000000..b7487f8c65--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/create.mdx@@ -0,0 +1,9 @@+---+title: "Create"+openapi: "POST /api/v1/app-connections/ssh"+---++<Note>+ Check out the configuration docs for [SSH Connections](/integrations/app-connections/ssh) to learn how to obtain+ the required credentials.+</Note>diff --git a/docs/api-reference/endpoints/app-connections/ssh/delete.mdx b/docs/api-reference/endpoints/app-connections/ssh/delete.mdxnew file mode 100644index 0000000000..93afa96526--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/delete.mdx@@ -0,0 +1,4 @@+---+title: "Delete"+openapi: "DELETE /api/v1/app-connections/ssh/{connectionId}"+---diff --git a/docs/api-reference/endpoints/app-connections/ssh/get-by-id.mdx b/docs/api-reference/endpoints/app-connections/ssh/get-by-id.mdxnew file mode 100644index 0000000000..6ec4743ebe--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/get-by-id.mdx@@ -0,0 +1,4 @@+---+title: "Get by ID"+openapi: "GET /api/v1/app-connections/ssh/{connectionId}"+---diff --git a/docs/api-reference/endpoints/app-connections/ssh/get-by-name.mdx b/docs/api-reference/endpoints/app-connections/ssh/get-by-name.mdxnew file mode 100644index 0000000000..ed693d87b9--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/get-by-name.mdx@@ -0,0 +1,4 @@+---+title: "Get by Name"+openapi: "GET /api/v1/app-connections/ssh/connection-name/{connectionName}"+---diff --git a/docs/api-reference/endpoints/app-connections/ssh/list.mdx b/docs/api-reference/endpoints/app-connections/ssh/list.mdxnew file mode 100644index 0000000000..7923d6a8b7--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/list.mdx@@ -0,0 +1,4 @@+---+title: "List"+openapi: "GET /api/v1/app-connections/ssh"+---diff --git a/docs/api-reference/endpoints/app-connections/ssh/update.mdx b/docs/api-reference/endpoints/app-connections/ssh/update.mdxnew file mode 100644index 0000000000..b432c69452--- /dev/null+++ b/docs/api-reference/endpoints/app-connections/ssh/update.mdx@@ -0,0 +1,9 @@+---+title: "Update"+openapi: "PATCH /api/v1/app-connections/ssh/{connectionId}"+---++<Note>+ Check out the configuration docs for [SSH Connections](/integrations/app-connections/ssh) to learn how to obtain+ the required credentials.+</Note>diff --git a/docs/docs.json b/docs/docs.jsonindex fd54188c04..33bffa068b 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -1595,6 +1595,18 @@"api-reference/endpoints/app-connections/supabase/delete"]},+ {+ "group": "SSH",+ "pages": [+ "api-reference/endpoints/app-connections/ssh/list",+ "api-reference/endpoints/app-connections/ssh/available",+ "api-reference/endpoints/app-connections/ssh/get-by-id",+ "api-reference/endpoints/app-connections/ssh/get-by-name",+ "api-reference/endpoints/app-connections/ssh/create",+ "api-reference/endpoints/app-connections/ssh/update",+ "api-reference/endpoints/app-connections/ssh/delete"+ ]+ },{"group": "TeamCity","pages": [diff --git a/docs/images/app-connections/ssh/ssh-app-connection-generated.png b/docs/images/app-connections/ssh/ssh-app-connection-generated.pngnew file mode 100644index 0000000000..a18a366a9eBinary files /dev/null and b/docs/images/app-connections/ssh/ssh-app-connection-generated.png differdiff --git a/docs/images/app-connections/ssh/ssh-app-connection-key-form.png b/docs/images/app-connections/ssh/ssh-app-connection-key-form.pngnew file mode 100644index 0000000000..da5042dee5Binary files /dev/null and b/docs/images/app-connections/ssh/ssh-app-connection-key-form.png differdiff --git a/docs/images/app-connections/ssh/ssh-app-connection-option.png b/docs/images/app-connections/ssh/ssh-app-connection-option.pngnew file mode 100644index 0000000000..eaef43d669Binary files /dev/null and b/docs/images/app-connections/ssh/ssh-app-connection-option.png differdiff --git a/docs/images/app-connections/ssh/ssh-app-connection-pass-form.png b/docs/images/app-connections/ssh/ssh-app-connection-pass-form.pngnew file mode 100644index 0000000000..e04687cb8cBinary files /dev/null and b/docs/images/app-connections/ssh/ssh-app-connection-pass-form.png differdiff --git a/docs/integrations/app-connections/ssh.mdx b/docs/integrations/app-connections/ssh.mdxnew file mode 100644index 0000000000..425a72d360--- /dev/null+++ b/docs/integrations/app-connections/ssh.mdx@@ -0,0 +1,113 @@+---+title: "SSH"+description: "Learn how to configure an SSH Connection for Infisical."+---++Infisical supports both SSH key authentication and username-password authentication.++## Prerequisites++You will need the following information to establish an SSH connection:++- **Username** - The username with the required permissions to connect (e.g., `root`)+- **Host** - The hostname or IP address of the machine+- **Password/Private Key** - The password or SSH private key for the user+++## Setup SSH Connection in Infisical++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Navigate to App Connections">+ Navigate to the **App Connections** page in your organization.+ + </Step>+ <Step title="Select SSH Connection">+ Click the **+ Add Connection** button and select **SSH Connection** from the available options.++ + </Step>+ <Step title="Fill out the SSH Connection Modal">+ <Tabs>+ <Tab title="Username Password">+ Complete the SSH Connection form by entering:+ - A descriptive name for the connection+ - An optional description for future reference+ - The SSH host (hostname or IP address)+ - The SSH port (default is 22)+ - The username for your machine+ - The SSH password for the user++ + </Tab>+ <Tab title="SSH Key">+ Complete the SSH Connection form by entering:+ - A descriptive name for the connection+ - An optional description for future reference+ - The SSH host (hostname or IP address)+ - The SSH port (default is 22)+ - The username for your machine+ - The SSH private key+ - An optional passphrase if the private key is protected++ + </Tab>+ </Tabs>+ </Step>+ <Step title="Connection Created">+ After clicking Create, your **SSH Connection** is established and ready to use with your Infisical project.++ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ To create an SSH Connection, make an API request to the [Create SSH+ Connection](/api-reference/endpoints/app-connections/ssh/create) API endpoint.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/app-connections/ssh \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-ssh-connection",+ "method": "ssh-key",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "credentials": {+ "host": "[ssh host]",+ "port": 22,+ "privateKey": "[SSH Private Key]",+ "username": "root"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "appConnection": {+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "name": "my-ssh-connection",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "version": 1,+ "orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "createdAt": "2023-11-07T05:31:56Z",+ "updatedAt": "2023-11-07T05:31:56Z",+ "app": "ssh",+ "method": "ssh-key",+ "credentials": {+ "host": "[ssh host]",+ "port": 22,+ "privateKey": "[SSH Private Key]",+ "username": "root"+ }+ }+ }+ ```+ </Tab>+</Tabs>+diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsxindex ca811b8c36..0314b5ebfd 100644--- a/docs/snippets/AppConnectionsBrowser.jsx+++ b/docs/snippets/AppConnectionsBrowser.jsx@@ -68,6 +68,13 @@ export const AppConnectionsBrowser = () => {"Learn how to connect your Azure ADCS to pull secrets from Infisical.",category: "Cloud Providers",},+ {+ name: "SSH",+ slug: "ssh",+ path: "/integrations/app-connections/ssh",+ description: "Learn how to connect your machine using SSH.",+ category: "Networking & DNS",+ },{name: "GCP",slug: "gcp",