Skip to content

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

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.ts
index 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 "./c
export 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: TCloud66Conne
try {
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): Prom
while (page) {
// eslint-disable-next-line no-await-in-loop
const 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.ts
index 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): Promise
const 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.png
new file mode 100644
index 0000000000..e2cd0fccde
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-1.png differ
diff --git a/docs/images/app-connections/cloud66/step-10.png b/docs/images/app-connections/cloud66/step-10.png
new file mode 100644
index 0000000000..4f2fba7d45
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-10.png differ
diff --git a/docs/images/app-connections/cloud66/step-2.png b/docs/images/app-connections/cloud66/step-2.png
new file mode 100644
index 0000000000..2e1a438ced
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-2.png differ
diff --git a/docs/images/app-connections/cloud66/step-3.png b/docs/images/app-connections/cloud66/step-3.png
new file mode 100644
index 0000000000..e856f6f691
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-3.png differ
diff --git a/docs/images/app-connections/cloud66/step-4.png b/docs/images/app-connections/cloud66/step-4.png
new file mode 100644
index 0000000000..0bb5ee1a5a
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-4.png differ
diff --git a/docs/images/app-connections/cloud66/step-5.png b/docs/images/app-connections/cloud66/step-5.png
new file mode 100644
index 0000000000..f6f836a39b
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-5.png differ
diff --git a/docs/images/app-connections/cloud66/step-6.png b/docs/images/app-connections/cloud66/step-6.png
new file mode 100644
index 0000000000..0a69088701
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-6.png differ
diff --git a/docs/images/app-connections/cloud66/step-7.png b/docs/images/app-connections/cloud66/step-7.png
new file mode 100644
index 0000000000..68dd34e2a2
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-7.png differ
diff --git a/docs/images/app-connections/cloud66/step-8.png b/docs/images/app-connections/cloud66/step-8.png
new file mode 100644
index 0000000000..4544231096
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-8.png differ
diff --git a/docs/images/app-connections/cloud66/step-9.png b/docs/images/app-connections/cloud66/step-9.png
new file mode 100644
index 0000000000..5d374c1af3
Binary files /dev/null and b/docs/images/app-connections/cloud66/step-9.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-1.png b/docs/images/secret-syncs/cloud66/step-1.png
new file mode 100644
index 0000000000..0101ed2f64
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-1.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-2.png b/docs/images/secret-syncs/cloud66/step-2.png
new file mode 100644
index 0000000000..f766c7eb5c
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-2.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-3.png b/docs/images/secret-syncs/cloud66/step-3.png
new file mode 100644
index 0000000000..32431af67d
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-3.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-4.png b/docs/images/secret-syncs/cloud66/step-4.png
new file mode 100644
index 0000000000..f23903b9e1
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-4.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-5.png b/docs/images/secret-syncs/cloud66/step-5.png
new file mode 100644
index 0000000000..ba86366cd3
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-5.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-6.png b/docs/images/secret-syncs/cloud66/step-6.png
new file mode 100644
index 0000000000..26bfd2f525
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-6.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-7.png b/docs/images/secret-syncs/cloud66/step-7.png
new file mode 100644
index 0000000000..ba0b51f6fc
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-7.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-8.png b/docs/images/secret-syncs/cloud66/step-8.png
new file mode 100644
index 0000000000..b54a0c4971
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-8.png differ
diff --git a/docs/images/secret-syncs/cloud66/step-9.png b/docs/images/secret-syncs/cloud66/step-9.png
new file mode 100644
index 0000000000..af03d30fe3
Binary files /dev/null and b/docs/images/secret-syncs/cloud66/step-9.png differ
diff --git a/docs/integrations/app-connections/cloud-66.mdx b/docs/integrations/app-connections/cloud-66.mdx
index 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 a
Infisical 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.
+ ![Open Account Menu](/images/app-connections/cloud66/step-1.png)
+
+ Select **Account Settings** from the dropdown.
+ ![Select Account Settings](/images/app-connections/cloud66/step-2.png)
+ </Step>
+ <Step title="Open Access Tokens settings">
+ In the account settings sidebar, select **Settings**.
+ ![Open Settings](/images/app-connections/cloud66/step-3.png)
- Ensure the token has permission to read your stacks and manage their environment variables.
+ Then select **Access Tokens**.
+ ![Open Access Tokens](/images/app-connections/cloud66/step-4.png)
+ </Step>
+ <Step title="Create a Personal Access Token">
+ Under **Personal Access Tokens (Classic)**, click **Add Token**.
+ ![Add Token](/images/app-connections/cloud66/step-5.png)
+
+ Give the token a name and select a scope that allows managing your stacks' environment variables, then click **Create Token**.
+ ![Configure Token](/images/app-connections/cloud66/step-6.png)
<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.
+ ![Copy Token](/images/app-connections/cloud66/step-7.png)
+ </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**.
![App Connections Tab](/images/app-connections/general/add-connection.png)
</Step>
<Step title="Add Connection">
Select the **Cloud 66 Connection** option from the connection options modal.
+ ![Select Cloud 66 Connection](/images/app-connections/cloud66/step-8.png)
</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**.
+ ![Configure Cloud 66 Connection](/images/app-connections/cloud66/step-9.png)
</Step>
<Step title="Connection Created">
Your **Cloud 66 Connection** is now available for use.
+ ![Cloud 66 Connection Created](/images/app-connections/cloud66/step-10.png)
</Step>
</Steps>
diff --git a/docs/integrations/secret-syncs/cloud-66.mdx b/docs/integrations/secret-syncs/cloud-66.mdx
index 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."
![Secret Syncs Tab](/images/secret-syncs/general/secret-sync-tab.png)
2. Select the **Cloud 66** option.
+ ![Select Cloud 66](/images/secret-syncs/cloud66/step-1.png)
- 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**.
+ ![Configure Source](/images/secret-syncs/cloud66/step-3.png)
- **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**.
+ ![Configure Destination](/images/secret-syncs/cloud66/step-4.png)
- **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**.
+ ![Configure Initial Sync Behavior](/images/secret-syncs/cloud66/step-5.png)
- - **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**.
+ ![Configure Sync Options](/images/secret-syncs/cloud66/step-6.png)
+
+ - **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**.
+ ![Configure Details](/images/secret-syncs/cloud66/step-7.png)
- **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**.
+ ![Review Configuration](/images/secret-syncs/cloud66/step-8.png)
- 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.
+ ![Sync Created](/images/secret-syncs/cloud66/step-9.png)
</Tab>
<Tab title="API">