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: add screenshot
adilsonf624d9a2a260
diff --git a/backend/src/services/app-connection/cloud-66/cloud-66-connection-fns.ts b/backend/src/services/app-connection/cloud-66/cloud-66-connection-fns.tsindex 993f934b29..187a2aac45 100644--- a/backend/src/services/app-connection/cloud-66/cloud-66-connection-fns.ts+++ b/backend/src/services/app-connection/cloud-66/cloud-66-connection-fns.ts@@ -8,6 +8,11 @@ import { TCloud66Connection, TCloud66ConnectionConfig, TCloud66Stack } from "./cexport const CLOUD_66_API_BASE_URL = "https://app.cloud66.com/api";+export const getCloud66Headers = (accessToken: string) => ({+ Authorization: `Bearer ${accessToken}`,+ Accept: "application/json"+});+export const getCloud66ConnectionListItem = () => {return {name: "Cloud 66" as const,@@ -21,10 +26,7 @@ export const validateCloud66ConnectionCredentials = async (config: TCloud66Connetry {await request.get(`${CLOUD_66_API_BASE_URL}/3/stacks`, {- headers: {- Authorization: `Bearer ${accessToken}`,- Accept: "application/json"- },+ headers: getCloud66Headers(accessToken),validateStatus: (status) => status === 200});} catch (error: unknown) {@@ -47,10 +49,7 @@ export const listCloud66Stacks = async (appConnection: TCloud66Connection): Promwhile (page) {// eslint-disable-next-line no-await-in-loopconst res = await request.get(`${CLOUD_66_API_BASE_URL}/3/stacks?page=${page}&per_page=30`, {- headers: {- Authorization: `Bearer ${accessToken}`,- Accept: "application/json"- }+ headers: getCloud66Headers(accessToken)});const { response, pagination } = res.data as {diff --git a/backend/src/services/secret-sync/cloud66/cloud66-sync-fns.ts b/backend/src/services/secret-sync/cloud66/cloud66-sync-fns.tsindex 3a4df3c251..20f1d4fff1 100644--- a/backend/src/services/secret-sync/cloud66/cloud66-sync-fns.ts+++ b/backend/src/services/secret-sync/cloud66/cloud66-sync-fns.ts@@ -1,16 +1,14 @@import { request } from "@app/lib/config/request";-import { CLOUD_66_API_BASE_URL } from "@app/services/app-connection/cloud-66/cloud-66-connection-fns";+import {+ CLOUD_66_API_BASE_URL,+ getCloud66Headers+} from "@app/services/app-connection/cloud-66/cloud-66-connection-fns";import { SecretSyncError } from "@app/services/secret-sync/secret-sync-errors";import { matchesSchema } from "@app/services/secret-sync/secret-sync-fns";import { TSecretMap } from "@app/services/secret-sync/secret-sync-types";import { TCloud66EnvVar, TCloud66SyncWithCredentials } from "./cloud66-sync-types";-const getHeaders = (accessToken: string) => ({- Authorization: `Bearer ${accessToken}`,- Accept: "application/json"-});-// Cloud 66 system-managed variables (readonly / generated) cannot be modified or deleted via the API.const isModifiable = (envVar: TCloud66EnvVar) => !envVar.readonly && !envVar.is_generated;@@ -23,7 +21,7 @@ const listCloud66EnvVars = async (accessToken: string, stackId: string): Promiseconst res = await request.get(`${CLOUD_66_API_BASE_URL}/3/stacks/${stackId}/environments?page=${page}&per_page=30`,{- headers: getHeaders(accessToken)+ headers: getCloud66Headers(accessToken)});@@ -44,19 +42,19 @@ const createCloud66EnvVar = (accessToken: string, stackId: string, key: string,request.post(`${CLOUD_66_API_BASE_URL}/3/stacks/${stackId}/environments`,{ key, value },- { headers: getHeaders(accessToken) }+ { headers: getCloud66Headers(accessToken) });const updateCloud66EnvVar = (accessToken: string, stackId: string, key: string, value: string) =>request.put(`${CLOUD_66_API_BASE_URL}/3/stacks/${stackId}/environments/${encodeURIComponent(key)}`,{ value },- { headers: getHeaders(accessToken) }+ { headers: getCloud66Headers(accessToken) });const deleteCloud66EnvVar = (accessToken: string, stackId: string, key: string) =>request.delete(`${CLOUD_66_API_BASE_URL}/3/stacks/${stackId}/environments/${encodeURIComponent(key)}`, {- headers: getHeaders(accessToken)+ headers: getCloud66Headers(accessToken)});export const Cloud66SyncFns = {diff --git a/docs/images/app-connections/cloud66/step-1.png b/docs/images/app-connections/cloud66/step-1.pngnew file mode 100644index 0000000000..e2cd0fccdeBinary files /dev/null and b/docs/images/app-connections/cloud66/step-1.png differdiff --git a/docs/images/app-connections/cloud66/step-10.png b/docs/images/app-connections/cloud66/step-10.pngnew file mode 100644index 0000000000..4f2fba7d45Binary files /dev/null and b/docs/images/app-connections/cloud66/step-10.png differdiff --git a/docs/images/app-connections/cloud66/step-2.png b/docs/images/app-connections/cloud66/step-2.pngnew file mode 100644index 0000000000..2e1a438cedBinary files /dev/null and b/docs/images/app-connections/cloud66/step-2.png differdiff --git a/docs/images/app-connections/cloud66/step-3.png b/docs/images/app-connections/cloud66/step-3.pngnew file mode 100644index 0000000000..e856f6f691Binary files /dev/null and b/docs/images/app-connections/cloud66/step-3.png differdiff --git a/docs/images/app-connections/cloud66/step-4.png b/docs/images/app-connections/cloud66/step-4.pngnew file mode 100644index 0000000000..0bb5ee1a5aBinary files /dev/null and b/docs/images/app-connections/cloud66/step-4.png differdiff --git a/docs/images/app-connections/cloud66/step-5.png b/docs/images/app-connections/cloud66/step-5.pngnew file mode 100644index 0000000000..f6f836a39bBinary files /dev/null and b/docs/images/app-connections/cloud66/step-5.png differdiff --git a/docs/images/app-connections/cloud66/step-6.png b/docs/images/app-connections/cloud66/step-6.pngnew file mode 100644index 0000000000..0a69088701Binary files /dev/null and b/docs/images/app-connections/cloud66/step-6.png differdiff --git a/docs/images/app-connections/cloud66/step-7.png b/docs/images/app-connections/cloud66/step-7.pngnew file mode 100644index 0000000000..68dd34e2a2Binary files /dev/null and b/docs/images/app-connections/cloud66/step-7.png differdiff --git a/docs/images/app-connections/cloud66/step-8.png b/docs/images/app-connections/cloud66/step-8.pngnew file mode 100644index 0000000000..4544231096Binary files /dev/null and b/docs/images/app-connections/cloud66/step-8.png differdiff --git a/docs/images/app-connections/cloud66/step-9.png b/docs/images/app-connections/cloud66/step-9.pngnew file mode 100644index 0000000000..5d374c1af3Binary files /dev/null and b/docs/images/app-connections/cloud66/step-9.png differdiff --git a/docs/images/secret-syncs/cloud66/step-1.png b/docs/images/secret-syncs/cloud66/step-1.pngnew file mode 100644index 0000000000..0101ed2f64Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-1.png differdiff --git a/docs/images/secret-syncs/cloud66/step-2.png b/docs/images/secret-syncs/cloud66/step-2.pngnew file mode 100644index 0000000000..f766c7eb5cBinary files /dev/null and b/docs/images/secret-syncs/cloud66/step-2.png differdiff --git a/docs/images/secret-syncs/cloud66/step-3.png b/docs/images/secret-syncs/cloud66/step-3.pngnew file mode 100644index 0000000000..32431af67dBinary files /dev/null and b/docs/images/secret-syncs/cloud66/step-3.png differdiff --git a/docs/images/secret-syncs/cloud66/step-4.png b/docs/images/secret-syncs/cloud66/step-4.pngnew file mode 100644index 0000000000..f23903b9e1Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-4.png differdiff --git a/docs/images/secret-syncs/cloud66/step-5.png b/docs/images/secret-syncs/cloud66/step-5.pngnew file mode 100644index 0000000000..ba86366cd3Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-5.png differdiff --git a/docs/images/secret-syncs/cloud66/step-6.png b/docs/images/secret-syncs/cloud66/step-6.pngnew file mode 100644index 0000000000..26bfd2f525Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-6.png differdiff --git a/docs/images/secret-syncs/cloud66/step-7.png b/docs/images/secret-syncs/cloud66/step-7.pngnew file mode 100644index 0000000000..ba0b51f6fcBinary files /dev/null and b/docs/images/secret-syncs/cloud66/step-7.png differdiff --git a/docs/images/secret-syncs/cloud66/step-8.png b/docs/images/secret-syncs/cloud66/step-8.pngnew file mode 100644index 0000000000..b54a0c4971Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-8.png differdiff --git a/docs/images/secret-syncs/cloud66/step-9.png b/docs/images/secret-syncs/cloud66/step-9.pngnew file mode 100644index 0000000000..af03d30fe3Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-9.png differdiff --git a/docs/integrations/app-connections/cloud-66.mdx b/docs/integrations/app-connections/cloud-66.mdxindex 550c099433..d55f8e3aad 100644--- a/docs/integrations/app-connections/cloud-66.mdx+++ b/docs/integrations/app-connections/cloud-66.mdx@@ -5,30 +5,58 @@ description: "Learn how to configure a Cloud 66 Connection for Infisical using aInfisical supports connecting to Cloud 66 using a **Personal Access Token**.-## Setup Cloud 66 Connection in Infisical+## Create Cloud 66 Personal Access Token<Steps>- <Step title="Generate a Cloud 66 Personal Access Token">- Log in to your [Cloud 66 account](https://app.cloud66.com) and navigate to your account's **Personal Access Tokens** settings to create a new token.+ <Step title="Open your Cloud 66 account settings">+ Log in to your [Cloud 66 account](https://app.cloud66.com) and click your account avatar in the top-right corner.+ ++ Select **Account Settings** from the dropdown.+ + </Step>+ <Step title="Open Access Tokens settings">+ In the account settings sidebar, select **Settings**.+ - Ensure the token has permission to read your stacks and manage their environment variables.+ Then select **Access Tokens**.+ + </Step>+ <Step title="Create a Personal Access Token">+ Under **Personal Access Tokens (Classic)**, click **Add Token**.+ ++ Give the token a name and select a scope that allows managing your stacks' environment variables, then click **Create Token**.+ <Warning>Keep your Personal Access Token secure and do not share it. Anyone with access to this token can manage your Cloud 66 stacks.</Warning></Step>+ <Step title="Copy your Personal Access Token">+ Copy the token and store it somewhere safe. Cloud 66 will not show it again after you leave this page.+ + </Step>+</Steps>++## Setup Cloud 66 Connection in Infisical++<Steps><Step title="Navigate to App Connections">Navigate to the **Integrations** tab in the desired project, then select **App Connections**.</Step><Step title="Add Connection">Select the **Cloud 66 Connection** option from the connection options modal.+ </Step>- <Step title="Configure Personal Access Token">- Paste your Cloud 66 Personal Access Token into the provided field, then click **Connect**.+ <Step title="Configure Connection">+ Enter a name for the connection, paste your Cloud 66 Personal Access Token into the **Personal Access Token** field, then click **Connect to Cloud 66**.+ </Step><Step title="Connection Created">Your **Cloud 66 Connection** is now available for use.+ </Step></Steps>diff --git a/docs/integrations/secret-syncs/cloud-66.mdx b/docs/integrations/secret-syncs/cloud-66.mdxindex 03b498687d..a8a04bc040 100644--- a/docs/integrations/secret-syncs/cloud-66.mdx+++ b/docs/integrations/secret-syncs/cloud-66.mdx@@ -21,8 +21,10 @@ description: "Learn how to configure a Cloud 66 Sync for Infisical."2. Select the **Cloud 66** option.+ - 3. Configure the **Source** from where secrets should be retrieved, then click **Next**.+ 3. Configure the **Source** from where secrets should be retrieved, then click **Continue**.+ - **Environment**: The project environment to retrieve secrets from.- **Secret Path**: The folder path to retrieve secrets from.@@ -31,32 +33,40 @@ description: "Learn how to configure a Cloud 66 Sync for Infisical."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**.+ 4. Configure the **Destination** to where secrets should be deployed, then click **Continue**.+ - **Cloud 66 Connection**: The Cloud 66 Connection to authenticate with.- **Stack**: The Cloud 66 stack (application) to sync secrets to.- 5. Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.+ 5. Configure the **Initial Sync Behavior** to determine how Infisical should resolve the first sync, then click **Continue**.+ - - **Initial Sync Behavior**: Determines how Infisical should resolve the initial sync.- - **Import - Prefer values from Infisical**: Import secrets from Cloud 66 to Infisical; if a secret with the same name already exists in Infisical, do nothing. Afterwards, sync secrets to Cloud 66.- - **Import - Prefer values from Cloud 66**: Import secrets from Cloud 66 to Infisical; if a secret with the same name already exists in Infisical, replace its value with the one from Cloud 66. Afterwards, sync secrets to Cloud 66.- - **Overwrite Destination Secrets**: Removes any secrets at the destination endpoint not present in Infisical.- - **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.+ - **Overwrite Cloud 66**: On the initial sync, Infisical writes its secrets to Cloud 66 and imports nothing. Depending on your configuration, this can remove secrets from Cloud 66.+ - **Import from Cloud (Prioritize Infisical)**: Imports secrets from Cloud 66 before the initial sync; if a secret with the same name already exists in Infisical, the Infisical value is kept.+ - **Import from Cloud (Prioritize Cloud)**: Imports secrets from Cloud 66 before the initial sync; if a secret with the same name already exists in Infisical, its value is replaced with the one from Cloud 66.++ 6. Configure the **Sync Options** to specify how secrets should be synced, then click **Continue**.+ ++ - **Disable secret deletion**: If enabled, Infisical will not remove secrets from Cloud 66 during a sync. Enable this option if you intend to manage some secrets manually outside of Infisical.+ - **Auto-sync on changes**: If enabled, secrets will automatically be synced from the source location when changes occur. Disable to enforce manual syncing only.+ - **Customize key names**: Add a prefix or suffix so Infisical can identify which keys in Cloud 66 it manages, leaving everything else untouched.<Note>- We highly recommend using a Key Schema to ensure that Infisical only manages the specific keys you intend, keeping everything else untouched.+ We highly recommend customizing key names 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 Cloud 66 Sync, then click **Next**.+ 7. Configure the **Details** of your Cloud 66 Sync, then click **Continue**.+ - **Name**: The name of your sync. Must be slug-friendly.- **Description**: An optional description for your sync.- 7. Review your Cloud 66 Sync configuration, then click **Create Sync**.+ 8. Review your Cloud 66 Sync configuration, then click **Create Sync**.+ - 8. If enabled, your Cloud 66 Sync will begin syncing your secrets to the destination endpoint.+ 9. If enabled, your Cloud 66 Sync will begin syncing your secrets to the destination endpoint.+ </Tab><Tab title="API">