Skip to content

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

docs: add docs

adilsonf32ce7ce5d3a
diff --git a/backend/src/services/integration-auth/integration-list.ts b/backend/src/services/integration-auth/integration-list.ts
index 876afde7f9..f2956c12c6 100644
--- a/backend/src/services/integration-auth/integration-list.ts
+++ b/backend/src/services/integration-auth/integration-list.ts
@@ -414,7 +414,7 @@ export const getIntegrationOptions = async () => {
docsLink: ""
},
{
- name: "RundecRundeckk",
+ name: "Rundeck",
slug: "rundeck",
image: "Rundeck.svg",
isAvailable: true,
diff --git a/backend/src/services/secret-sync/rundeck/rundeck-sync-fns.ts b/backend/src/services/secret-sync/rundeck/rundeck-sync-fns.ts
index b46000b9cc..d09379f399 100644
--- a/backend/src/services/secret-sync/rundeck/rundeck-sync-fns.ts
+++ b/backend/src/services/secret-sync/rundeck/rundeck-sync-fns.ts
@@ -3,8 +3,7 @@
import { AxiosError } from "axios";
import { request } from "@app/lib/config/request";
-import { removeTrailingSlash } from "@app/lib/fn";
-import { blockLocalAndPrivateIpAddresses } from "@app/lib/validator";
+import { getRundeckInstanceUrl } from "@app/services/app-connection/rundeck";
import { matchesSchema } from "@app/services/secret-sync/secret-sync-fns";
import { SecretSyncError } from "../secret-sync-errors";
@@ -38,9 +37,7 @@ const getRundeckStoragePath = (project: string, path: string) => {
const getRundeckClientDetails = async (secretSync: TRundeckSyncWithCredentials) => {
const { connection, destinationConfig } = secretSync;
- const instanceUrl = removeTrailingSlash(connection.credentials.instanceUrl);
- await blockLocalAndPrivateIpAddresses(instanceUrl);
-
+ const instanceUrl = await getRundeckInstanceUrl(connection);
const storagePath = getRundeckStoragePath(destinationConfig.project, destinationConfig.path);
return {
@@ -64,6 +61,14 @@ const listRundeckSecretKeys = async (baseUrl: string, headers: Record<string, st
}
};
+const deleteRundeckSecret = async (baseUrl: string, key: string, headers: Record<string, string>) => {
+ try {
+ await request.delete(`${baseUrl}/${key}`, { headers });
+ } catch (error) {
+ throw new SecretSyncError({ error, secretKey: key });
+ }
+};
+
export const RundeckSyncFns = {
async getSecrets(secretSync: TRundeckSyncWithCredentials): Promise<TSecretMap> {
throw new Error(`${SECRET_SYNC_NAME_MAP[secretSync.destination]} does not support importing secrets.`);
@@ -76,23 +81,21 @@ export const RundeckSyncFns = {
} = secretSync;
const { baseUrl, headers } = await getRundeckClientDetails(secretSync);
+ const writeHeaders = { ...headers, "Content-Type": RUNDECK_SECRET_CONTENT_TYPE };
const existingSecretKeys = await listRundeckSecretKeys(baseUrl, headers);
const existingSecretKeySet = new Set(existingSecretKeys);
for (const key of Object.keys(secretMap)) {
- const value = secretMap[key].value ?? "";
const url = `${baseUrl}/${key}`;
+ const value = secretMap[key].value ?? "";
+ // POST creates a new key; PUT overwrites an existing one
try {
if (existingSecretKeySet.has(key)) {
- await request.put(url, value, {
- headers: { ...headers, "Content-Type": RUNDECK_SECRET_CONTENT_TYPE }
- });
+ await request.put(url, value, { headers: writeHeaders });
} else {
- await request.post(url, value, {
- headers: { ...headers, "Content-Type": RUNDECK_SECRET_CONTENT_TYPE }
- });
+ await request.post(url, value, { headers: writeHeaders });
}
} catch (error) {
throw new SecretSyncError({ error, secretKey: key });
@@ -106,11 +109,7 @@ export const RundeckSyncFns = {
if (!matchesSchema(key, environment?.slug || "", keySchema)) continue;
if (!(key in secretMap)) {
- try {
- await request.delete(`${baseUrl}/${key}`, { headers });
- } catch (error) {
- throw new SecretSyncError({ error, secretKey: key });
- }
+ await deleteRundeckSecret(baseUrl, key, headers);
}
}
},
@@ -121,12 +120,8 @@ export const RundeckSyncFns = {
const existingSecretKeys = await listRundeckSecretKeys(baseUrl, headers);
for (const key of existingSecretKeys) {
- if (!(key in secretMap)) continue;
-
- try {
- await request.delete(`${baseUrl}/${key}`, { headers });
- } catch (error) {
- throw new SecretSyncError({ error, secretKey: key });
+ if (key in secretMap) {
+ await deleteRundeckSecret(baseUrl, key, headers);
}
}
}
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/available.mdx b/docs/api-reference/endpoints/app-connections/rundeck/available.mdx
new file mode 100644
index 0000000000..f7f3953718
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/available.mdx
@@ -0,0 +1,4 @@
+---
+title: "Available"
+openapi: "GET /api/v1/app-connections/rundeck/available"
+---
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/create.mdx b/docs/api-reference/endpoints/app-connections/rundeck/create.mdx
new file mode 100644
index 0000000000..916c51b04d
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/create.mdx
@@ -0,0 +1,9 @@
+---
+title: "Create"
+openapi: "POST /api/v1/app-connections/rundeck"
+---
+
+<Note>
+ Check out the configuration docs for [Rundeck Connections](/integrations/app-connections/rundeck) to learn how to obtain
+ the required credentials.
+</Note>
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/delete.mdx b/docs/api-reference/endpoints/app-connections/rundeck/delete.mdx
new file mode 100644
index 0000000000..d48ba0e014
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/delete.mdx
@@ -0,0 +1,4 @@
+---
+title: "Delete"
+openapi: "DELETE /api/v1/app-connections/rundeck/{connectionId}"
+---
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/get-by-id.mdx b/docs/api-reference/endpoints/app-connections/rundeck/get-by-id.mdx
new file mode 100644
index 0000000000..2493c5eb0b
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/get-by-id.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get by ID"
+openapi: "GET /api/v1/app-connections/rundeck/{connectionId}"
+---
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/get-by-name.mdx b/docs/api-reference/endpoints/app-connections/rundeck/get-by-name.mdx
new file mode 100644
index 0000000000..4a6523bb64
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/get-by-name.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get by Name"
+openapi: "GET /api/v1/app-connections/rundeck/connection-name/{connectionName}"
+---
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/list.mdx b/docs/api-reference/endpoints/app-connections/rundeck/list.mdx
new file mode 100644
index 0000000000..3c7cd4780a
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/list.mdx
@@ -0,0 +1,4 @@
+---
+title: "List"
+openapi: "GET /api/v1/app-connections/rundeck"
+---
diff --git a/docs/api-reference/endpoints/app-connections/rundeck/update.mdx b/docs/api-reference/endpoints/app-connections/rundeck/update.mdx
new file mode 100644
index 0000000000..37ed05573f
--- /dev/null
+++ b/docs/api-reference/endpoints/app-connections/rundeck/update.mdx
@@ -0,0 +1,9 @@
+---
+title: "Update"
+openapi: "PATCH /api/v1/app-connections/rundeck/{connectionId}"
+---
+
+<Note>
+ Check out the configuration docs for [Rundeck Connections](/integrations/app-connections/rundeck) to learn how to obtain
+ the required credentials.
+</Note>
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/create.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/create.mdx
new file mode 100644
index 0000000000..2797a0f40c
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/create.mdx
@@ -0,0 +1,4 @@
+---
+title: "Create"
+openapi: "POST /api/v1/secret-syncs/rundeck"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/delete.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/delete.mdx
new file mode 100644
index 0000000000..760ef557d4
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/delete.mdx
@@ -0,0 +1,4 @@
+---
+title: "Delete"
+openapi: "DELETE /api/v1/secret-syncs/rundeck/{syncId}"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/get-by-id.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/get-by-id.mdx
new file mode 100644
index 0000000000..f01c9e5a10
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/get-by-id.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get by ID"
+openapi: "GET /api/v1/secret-syncs/rundeck/{syncId}"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/get-by-name.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/get-by-name.mdx
new file mode 100644
index 0000000000..a9d3444fd6
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/get-by-name.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get by Name"
+openapi: "GET /api/v1/secret-syncs/rundeck/sync-name/{syncName}"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/list.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/list.mdx
new file mode 100644
index 0000000000..c6be46a38e
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/list.mdx
@@ -0,0 +1,4 @@
+---
+title: "List"
+openapi: "GET /api/v1/secret-syncs/rundeck"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/remove-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/remove-secrets.mdx
new file mode 100644
index 0000000000..fd59e6cc14
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/remove-secrets.mdx
@@ -0,0 +1,4 @@
+---
+title: "Remove Secrets"
+openapi: "POST /api/v1/secret-syncs/rundeck/{syncId}/remove-secrets"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/sync-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/sync-secrets.mdx
new file mode 100644
index 0000000000..a30f1b3ef8
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/sync-secrets.mdx
@@ -0,0 +1,4 @@
+---
+title: "Sync Secrets"
+openapi: "POST /api/v1/secret-syncs/rundeck/{syncId}/sync-secrets"
+---
diff --git a/docs/api-reference/endpoints/secret-syncs/rundeck/update.mdx b/docs/api-reference/endpoints/secret-syncs/rundeck/update.mdx
new file mode 100644
index 0000000000..403aa3047c
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-syncs/rundeck/update.mdx
@@ -0,0 +1,4 @@
+---
+title: "Update"
+openapi: "PATCH /api/v1/secret-syncs/rundeck/{syncId}"
+---
diff --git a/docs/docs.json b/docs/docs.json
index 9d92bfca8f..34a874673d 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -163,6 +163,7 @@
"integrations/app-connections/railway",
"integrations/app-connections/redis",
"integrations/app-connections/render",
+ "integrations/app-connections/rundeck",
"integrations/app-connections/salesforce",
"integrations/app-connections/snowflake",
"integrations/app-connections/supabase",
@@ -656,6 +657,7 @@
"integrations/secret-syncs/ovh",
"integrations/secret-syncs/railway",
"integrations/secret-syncs/render",
+ "integrations/secret-syncs/rundeck",
"integrations/secret-syncs/snowflake",
"integrations/secret-syncs/supabase",
"integrations/secret-syncs/teamcity",
@@ -1933,6 +1935,18 @@
"api-reference/endpoints/app-connections/render/delete"
]
},
+ {
+ "group": "Rundeck",
+ "pages": [
+ "api-reference/endpoints/app-connections/rundeck/list",
+ "api-reference/endpoints/app-connections/rundeck/available",
+ "api-reference/endpoints/app-connections/rundeck/get-by-id",
+ "api-reference/endpoints/app-connections/rundeck/get-by-name",
+ "api-reference/endpoints/app-connections/rundeck/create",
+ "api-reference/endpoints/app-connections/rundeck/update",
+ "api-reference/endpoints/app-connections/rundeck/delete"
+ ]
+ },
{
"group": "Salesforce",
"pages": [
@@ -3025,6 +3039,19 @@
"api-reference/endpoints/secret-syncs/render/remove-secrets"
]
},
+ {
+ "group": "Rundeck",
+ "pages": [
+ "api-reference/endpoints/secret-syncs/rundeck/list",
+ "api-reference/endpoints/secret-syncs/rundeck/get-by-id",
+ "api-reference/endpoints/secret-syncs/rundeck/get-by-name",
+ "api-reference/endpoints/secret-syncs/rundeck/create",
+ "api-reference/endpoints/secret-syncs/rundeck/update",
+ "api-reference/endpoints/secret-syncs/rundeck/delete",
+ "api-reference/endpoints/secret-syncs/rundeck/sync-secrets",
+ "api-reference/endpoints/secret-syncs/rundeck/remove-secrets"
+ ]
+ },
{
"group": "Snowflake",
"pages": [
diff --git a/docs/integrations/app-connections/rundeck.mdx b/docs/integrations/app-connections/rundeck.mdx
new file mode 100644
index 0000000000..7ebff91aaa
--- /dev/null
+++ b/docs/integrations/app-connections/rundeck.mdx
@@ -0,0 +1,114 @@
+---
+title: "Rundeck Connection"
+description: "Learn how to configure a Rundeck Connection for Infisical."
+---
+
+Infisical supports connecting to Rundeck using an **API Token**.
+
+## Generate a Rundeck API Token
+
+<Steps>
+ <Step title="Navigate to your User API Tokens">
+ Log in to your Rundeck instance, click your username in the top-right corner, and select **Profile**.
+ On the profile page, locate the **User API Tokens** section.
+ ![Rundeck User API Tokens](/images/app-connections/rundeck/rundeck-user-api-tokens.png)
+ </Step>
+ <Step title="Generate a New Token">
+ Click **+ Generate New Token** and provide a name for your token (e.g., "Infisical Integration").
+ Optionally set the roles and an expiration duration for the token.
+ ![Rundeck Generate Token](/images/app-connections/rundeck/rundeck-generate-token.png)
+
+ <Note>
+ The API token inherits the access of the user and roles it is generated with. Grant only the
+ permissions required to read projects and manage Key Storage for your target projects.
+ </Note>
+ </Step>
+ <Step title="Copy the API Token">
+ After generating the token, copy it immediately and store it securely, as you won't be able to
+ view it again after leaving this page.
+ ![Rundeck Token Created](/images/app-connections/rundeck/rundeck-token-created.png)
+
+ <Note>
+ If you configure an expiration for your API token, you must manually rotate to a new token
+ before it expires to prevent service interruption.
+ </Note>
+ </Step>
+</Steps>
+
+## Setup Rundeck Connection in Infisical
+
+<Tabs>
+ <Tab title="Infisical UI">
+ <Steps>
+ <Step title="Navigate to App Connections">
+ In your Infisical dashboard, navigate to the **Integrations** tab in the desired project,
+ then select **App Connections**.
+ ![App Connections Tab](/images/app-connections/general/add-connection.png)
+ </Step>
+ <Step title="Add Connection">
+ Click the **+ Add Connection** button and select the **Rundeck Connection** option from
+ the available integrations.
+ ![Select Rundeck Connection](/images/app-connections/rundeck/rundeck-app-connection-option.png)
+ </Step>
+ <Step title="Fill out the Rundeck Connection Modal">
+ Complete the Rundeck Connection form by entering:
+ - A descriptive **Name** for the connection
+ - An optional **Description** for future reference
+ - The **Rundeck Instance URL** (e.g., `https://rundeck.example.com`)
+ - The **Rundeck API Token** you generated above
+
+ ![Rundeck Connection Modal](/images/app-connections/rundeck/rundeck-app-connection-modal.png)
+ </Step>
+ <Step title="Connection Created">
+ After clicking **Connect to Rundeck**, your **Rundeck Connection** is established and
+ ready to use with your Infisical project.
+ ![Rundeck Connection Created](/images/app-connections/rundeck/rundeck-app-connection-created.png)
+ </Step>
+ </Steps>
+ </Tab>
+ <Tab title="API">
+ To create a Rundeck Connection, make an API request to the [Create Rundeck
+ Connection](/api-reference/endpoints/app-connections/rundeck/create) API endpoint.
+
+ ### Sample request
+
+ ```bash Request
+ curl --request POST \
+ --url https://app.infisical.com/api/v1/app-connections/rundeck \
+ --header 'Content-Type: application/json' \
+ --data '{
+ "name": "my-rundeck-connection",
+ "method": "api-token",
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "credentials": {
+ "instanceUrl": "https://rundeck.example.com",
+ "apiToken": "..."
+ }
+ }'
+ ```
+
+ ### Sample response
+
+ ```bash Response
+ {
+ "appConnection": {
+ "id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
+ "name": "my-rundeck-connection",
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "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,
+ "credentialsHash": "7c2d371dec195f82a6a0d5b41c970a229cfcaf88e894a5b6395e2dbd0280661f",
+ "app": "rundeck",
+ "method": "api-token",
+ "credentials": {
+ "instanceUrl": "https://rundeck.example.com"
+ }
+ }
+ }
+ ```
+ </Tab>
+</Tabs>
diff --git a/docs/integrations/secret-syncs/rundeck.mdx b/docs/integrations/secret-syncs/rundeck.mdx
new file mode 100644
index 0000000000..44bdf10b65
--- /dev/null
+++ b/docs/integrations/secret-syncs/rundeck.mdx
@@ -0,0 +1,151 @@
+---
+title: "Rundeck Sync"
+description: "Learn how to configure a Rundeck Sync for Infisical."
+---
+
+**Prerequisites:**
+
+ - Set up and add secrets to [Infisical Cloud](https://app.infisical.com)
+ - Create a [Rundeck Connection](/integrations/app-connections/rundeck)
+
+<Tabs>
+ <Tab title="Infisical UI">
+ 1. Navigate to **Project** > **Integrations** and select the **Secret Syncs** tab. Click on the **Add Sync** button.
+ ![Secret Syncs Tab](/images/secret-syncs/general/secret-sync-tab.png)
+
+ 2. Select the **Rundeck** option.
+ ![Select Rundeck](/images/secret-syncs/rundeck/select-rundeck-option.png)
+
+ 3. Configure the **Source** from where secrets should be retrieved, then click **Next**.
+ ![Configure Source](/images/secret-syncs/rundeck/rundeck-sync-source.png)
+
+ - **Environment**: The project environment to retrieve secrets from.
+ - **Secret Path**: The folder path to retrieve secrets from.
+
+ <Tip>
+ If you need to sync secrets from multiple folder locations, check out [secret imports](/documentation/platform/secret-reference#secret-imports).
+ </Tip>
+
+ 4. Configure the **Destination** to where secrets should be deployed, then click **Next**.
+ ![Configure Destination](/images/secret-syncs/rundeck/rundeck-sync-destination.png)
+
+ - **Rundeck Connection**: The Rundeck Connection to authenticate with.
+ - **Project**: The Rundeck project to sync secrets to.
+ - **Path**: The Key Storage path within the project. Must start with `/` (e.g. `/production`).
+
+ <Note>
+ Secrets are stored in Rundeck Key Storage under `keys/project/<project><path>`. For example,
+ a secret named `API_KEY` synced to project `web-app` with path `/production` is stored at
+ `keys/project/web-app/production/API_KEY`.
+ </Note>
+
+ 5. Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.
+ ![Configure Options](/images/secret-syncs/rundeck/rundeck-sync-options.png)
+
+ - **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.
+
+ <Note>
+ Rundeck Syncs do not support importing secrets from the destination.
+ </Note>
+ - **Key Schema**: Template that determines how secret names are transformed when syncing, using `{{secretKey}}` as a placeholder for the original secret name and `{{environment}}` for the environment.
+ <Note>
+ We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.
+ </Note>
+ - **Auto-Sync Enabled**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.
+ - **Disable Secret Deletion**: If enabled, Infisical will not remove secrets from the sync destination. Enable this option if you intend to manage some secrets manually outside of Infisical.
+
+ 6. Configure the **Details** of your Rundeck Sync, then click **Next**.
+ ![Configure Details](/images/secret-syncs/rundeck/rundeck-sync-details.png)
+
+ - **Name**: The name of your sync. Must be slug-friendly.
+ - **Description**: An optional description for your sync.
+
+ 7. Review your Rundeck Sync configuration, then click **Create Sync**.
+ ![Confirm Configuration](/images/secret-syncs/rundeck/rundeck-sync-review.png)
+
+ 8. If enabled, your Rundeck Sync will begin syncing your secrets to the destination endpoint.
+ ![Sync Secrets](/images/secret-syncs/rundeck/rundeck-sync-created.png)
+
+ </Tab>
+ <Tab title="API">
+ To create a **Rundeck Sync**, make an API request to the [Create Rundeck Sync](/api-reference/endpoints/secret-syncs/rundeck/create) API endpoint.
+
+ ### Sample request
+
+ ```bash Request
+ curl --request POST \
+ --url https://app.infisical.com/api/v1/secret-syncs/rundeck \
+ --header 'Content-Type: application/json' \
+ --data '{
+ "name": "my-rundeck-sync",
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "description": "an example sync",
+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "environment": "dev",
+ "secretPath": "/my-secrets",
+ "isEnabled": true,
+ "syncOptions": {
+ "initialSyncBehavior": "overwrite-destination"
+ },
+ "destinationConfig": {
+ "project": "web-app",
+ "path": "/production"
+ }
+ }'
+ ```
+
+ ### Sample response
+
+ ```bash Response
+ {
+ "secretSync": {
+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "name": "my-rundeck-sync",
+ "description": "an example sync",
+ "isEnabled": true,
+ "version": 1,
+ "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "createdAt": "2023-11-07T05:31:56Z",
+ "updatedAt": "2023-11-07T05:31:56Z",
+ "syncStatus": "succeeded",
+ "lastSyncJobId": "123",
+ "lastSyncMessage": null,
+ "lastSyncedAt": "2023-11-07T05:31:56Z",
+ "importStatus": null,
+ "lastImportJobId": null,
+ "lastImportMessage": null,
+ "lastImportedAt": null,
+ "removeStatus": null,
+ "lastRemoveJobId": null,
+ "lastRemoveMessage": null,
+ "lastRemovedAt": null,
+ "syncOptions": {
+ "initialSyncBehavior": "overwrite-destination"
+ },
+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "connection": {
+ "app": "rundeck",
+ "name": "my-rundeck-connection",
+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
+ },
+ "environment": {
+ "slug": "dev",
+ "name": "Development",
+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
+ },
+ "folder": {
+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
+ "path": "/my-secrets"
+ },
+ "destination": "rundeck",
+ "destinationConfig": {
+ "project": "web-app",
+ "path": "/production"
+ }
+ }
+ }
+ ```
+ </Tab>
+</Tabs>
diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsx
index 61672c4452..a154ba340f 100644
--- a/docs/snippets/AppConnectionsBrowser.jsx
+++ b/docs/snippets/AppConnectionsBrowser.jsx
@@ -574,6 +574,14 @@ export const AppConnectionsBrowser = () => {
description:
"Learn how to connect GoDaddy to Infisical for ACME DNS validation.",
category: "Networking & DNS",
+ },
+ {
+ name: "Rundeck",
+ slug: "rundeck",
+ path: "/integrations/app-connections/rundeck",
+ description:
+ "Learn how to connect Rundeck to pull secrets from Infisical.",
+ category: "DevOps Tools",
}
].sort(function (a, b) {
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
diff --git a/docs/snippets/DynamicSecretsBrowser.jsx b/docs/snippets/DynamicSecretsBrowser.jsx
index e5b583bee8..1317020441 100644
--- a/docs/snippets/DynamicSecretsBrowser.jsx
+++ b/docs/snippets/DynamicSecretsBrowser.jsx
@@ -35,6 +35,7 @@ export const DynamicSecretsBrowser = () => {
{"name": "Kubernetes", "slug": "kubernetes", "path": "/documentation/platform/dynamic-secrets/kubernetes", "description": "Learn how to generate dynamic Kubernetes credentials on-demand.", "category": "Container Orchestration"},
{"name": "TOTP", "slug": "totp", "path": "/documentation/platform/dynamic-secrets/totp", "description": "Learn how to generate dynamic TOTP codes on-demand.", "category": "Authentication"},
{"name": "Milvus", "slug": "milvus", "path": "/documentation/platform/dynamic-secrets/milvus", "description": "Learn how to generate dynamic Milvus database credentials on-demand.", "category": "Databases"},
+ {"name": "Rundeck", "slug": "rundeck", "path": "/documentation/platform/dynamic-secrets/rundeck", "description": "Learn how to generate dynamic Rundeck credentials on-demand.", "category": "DevOps Tools"},
].sort(function(a, b) {
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
});
diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/RundeckSyncFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/RundeckSyncFields.tsx
index 07b8ce603a..e6111daa60 100644
--- a/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/RundeckSyncFields.tsx
+++ b/frontend/src/components/secret-syncs/forms/SecretSyncDestinationFields/RundeckSyncFields.tsx
@@ -20,6 +20,9 @@ import { SecretSync } from "@app/hooks/api/secretSyncs";
import { TSecretSyncForm } from "../schemas";
+const PATH_HELP_TEXT =
+ "Path must start with '/'. Secrets are stored in Rundeck Key Storage under keys/project/<project><path>.";
+
export const RundeckSyncFields = () => {
const { control, setValue } = useFormContext<
TSecretSyncForm & { destination: SecretSync.Rundeck }
@@ -79,11 +82,7 @@ export const RundeckSyncFields = () => {
placeholder="/production"
isError={Boolean(error)}
/>
- <FieldDescription>
- {
- "Path must start with '/'. Secrets are stored in Rundeck Key Storage under keys/project/<project><path>."
- }
- </FieldDescription>
+ <FieldDescription>{PATH_HELP_TEXT}</FieldDescription>
<FieldError errors={[error]} />
</FieldContent>
</Field>