Skip to content

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

refactor: rename Windows references to SMB in documentation and code for consistency and clarity

Victor Santos1c3359e57151
diff --git a/backend/src/services/app-connection/app-connection-maps.ts b/backend/src/services/app-connection/app-connection-maps.ts
index 1cef9abe4c..9c0db67e75 100644
--- a/backend/src/services/app-connection/app-connection-maps.ts
+++ b/backend/src/services/app-connection/app-connection-maps.ts
@@ -47,7 +47,7 @@ export const APP_CONNECTION_NAME_MAP: Record<AppConnection, string> = {
[AppConnection.Northflank]: "Northflank",
[AppConnection.OctopusDeploy]: "Octopus Deploy",
[AppConnection.SSH]: "SSH",
- [AppConnection.SMB]: "Windows"
+ [AppConnection.SMB]: "SMB"
};
export const APP_CONNECTION_PLAN_MAP: Record<AppConnection, AppConnectionPlanType> = {
diff --git a/docs/api-reference/endpoints/app-connections/smb/create.mdx b/docs/api-reference/endpoints/app-connections/smb/create.mdx
index 2e22736cea..9c7f3516d9 100644
--- a/docs/api-reference/endpoints/app-connections/smb/create.mdx
+++ b/docs/api-reference/endpoints/app-connections/smb/create.mdx
@@ -4,6 +4,6 @@ openapi: "POST /api/v1/app-connections/smb"
---
<Note>
- Check out the configuration docs for [Windows Connections](/integrations/app-connections/windows) to learn how to obtain
+ Check out the configuration docs for [SMB Connections](/integrations/app-connections/smb) to learn how to obtain
the required credentials.
</Note>
diff --git a/docs/api-reference/endpoints/secret-rotations/windows-local-account/reconcile.mdx b/docs/api-reference/endpoints/secret-rotations/windows-local-account/reconcile.mdx
index 3360e8e0b5..92fa280b94 100644
--- a/docs/api-reference/endpoints/secret-rotations/windows-local-account/reconcile.mdx
+++ b/docs/api-reference/endpoints/secret-rotations/windows-local-account/reconcile.mdx
@@ -5,5 +5,5 @@ openapi: "POST /api/v2/secret-rotations/windows-local-account/{rotationId}/recon
<Note>
The reconcile endpoint is used to reset the target user's password when credentials are out of sync.
- This uses the Windows Connection's administrator credentials to reset the target user's password and sync it with Infisical.
+ This uses the SMB Connection's administrator credentials to reset the target user's password and sync it with Infisical.
</Note>
diff --git a/docs/docs.json b/docs/docs.json
index 09a22cdb23..93ad742e2b 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -151,7 +151,7 @@
"integrations/app-connections/terraform-cloud",
"integrations/app-connections/vercel",
"integrations/app-connections/windmill",
- "integrations/app-connections/windows",
+ "integrations/app-connections/smb",
"integrations/app-connections/zabbix"
]
}
@@ -1663,7 +1663,7 @@
]
},
{
- "group": "Windows (SMB)",
+ "group": "SMB",
"pages": [
"api-reference/endpoints/app-connections/smb/list",
"api-reference/endpoints/app-connections/smb/available",
diff --git a/docs/documentation/platform/secret-rotation/windows-local-account.mdx b/docs/documentation/platform/secret-rotation/windows-local-account.mdx
index 9f76a77b69..08511bb63f 100644
--- a/docs/documentation/platform/secret-rotation/windows-local-account.mdx
+++ b/docs/documentation/platform/secret-rotation/windows-local-account.mdx
@@ -13,7 +13,7 @@ description: "Learn how to automatically rotate Windows local account passwords
## Prerequisites
- **Windows Server** with SMB3 support enabled
-- Create a [Windows Connection](/integrations/app-connections/windows) with administrator credentials
+- Create an [SMB Connection](/integrations/app-connections/smb) with administrator credentials
- Ensure your network security policies allow SMB connections from Infisical to this rotation provider
<Accordion title="Open firewall on Windows Defender for SMB connection">
@@ -40,10 +40,10 @@ description: "Learn how to automatically rotate Windows local account passwords
2. Select the **Windows Local Account** option.
![Select Windows Local Account](/images/secret-rotations-v2/windows-local-account/select-windows-local-account-option.png)
- 3. Select the **Windows Connection** to use and configure the rotation behavior. Then click **Next**.
+ 3. Select the **SMB Connection** to use and configure the rotation behavior. Then click **Next**.
![Rotation Configuration](/images/secret-rotations-v2/windows-local-account/windows-local-account-configuration.png)
- - **Windows Connection** - the connection that will perform the rotation of the configured user's password.
+ - **SMB Connection** - the connection that will perform the rotation of the configured user's password.
- **Rotation Interval** - the interval, in days, that once elapsed will trigger a rotation.
- **Rotate At** - the local time of day when rotation should occur once the interval has elapsed.
- **Auto-Rotation Enabled** - whether secrets should automatically be rotated once the rotation interval has elapsed. Disable this option to manually rotate secrets or pause secret rotation.
@@ -57,7 +57,7 @@ description: "Learn how to automatically rotate Windows local account passwords
- **Rotation Method** - The method to use when rotating the target user's password.
- **Login as Target** - Infisical will use the target user's current credentials to authenticate and rotate its own password. The target user must have administrator privileges on the Windows machine to be able to rotate its own password.
- - **Login as Root** - Infisical will use the administrator credentials provided in the Windows Connection to rotate the target user's password.
+ - **Login as Root** - Infisical will use the administrator credentials provided in the SMB Connection to rotate the target user's password.
- **Username** - The target Windows username whose password will be rotated.
- **Current Password** - The current password of the target user (required when **Rotation Method** is set to **Login as Target**).
- **Password Requirements** - The constraints to apply when generating new passwords.
@@ -158,7 +158,7 @@ description: "Learn how to automatically rotate Windows local account passwords
"connection": {
"app": "smb",
"name": "my-windows-connection",
- "description": "Windows SMB connection",
+ "description": "SMB connection",
"credentials": {}
},
"folder": {
diff --git a/docs/images/app-connections/windows/windows-app-connection-form.png b/docs/images/app-connections/smb/smb-app-connection-form.png
similarity index 100%
rename from docs/images/app-connections/windows/windows-app-connection-form.png
rename to docs/images/app-connections/smb/smb-app-connection-form.png
diff --git a/docs/images/app-connections/windows/windows-app-connection-generated.png b/docs/images/app-connections/smb/smb-app-connection-generated.png
similarity index 100%
rename from docs/images/app-connections/windows/windows-app-connection-generated.png
rename to docs/images/app-connections/smb/smb-app-connection-generated.png
diff --git a/docs/images/app-connections/windows/windows-app-connection-option.png b/docs/images/app-connections/smb/smb-app-connection-option.png
similarity index 100%
rename from docs/images/app-connections/windows/windows-app-connection-option.png
rename to docs/images/app-connections/smb/smb-app-connection-option.png
diff --git a/docs/integrations/app-connections/windows.mdx b/docs/integrations/app-connections/smb.mdx
similarity index 74%
rename from docs/integrations/app-connections/windows.mdx
rename to docs/integrations/app-connections/smb.mdx
index 211a0f7f74..1d360a7b13 100644
--- a/docs/integrations/app-connections/windows.mdx
+++ b/docs/integrations/app-connections/smb.mdx
@@ -1,13 +1,13 @@
---
-title: "Windows"
-description: "Learn how to configure a Windows Connection for Infisical."
+title: "SMB"
+description: "Learn how to configure an SMB Connection for Infisical."
---
-The Windows Connection allows Infisical to connect to Windows servers using the SMB (Server Message Block) protocol for remote management operations such as password rotation.
+The SMB Connection allows Infisical to connect to Windows servers using the SMB (Server Message Block) protocol for remote management operations such as password rotation.
## Prerequisites
-You will need the following information to establish a Windows connection:
+You will need the following information to establish an SMB connection:
- **Host** - The hostname or IP address of the Windows server
- **Port** - The SMB port (default is 445)
@@ -34,7 +34,7 @@ You will need the following information to establish a Windows connection:
```
</Accordion>
-## Setup Windows Connection in Infisical
+## Setup SMB Connection in Infisical
<Tabs>
<Tab title="Infisical UI">
@@ -43,13 +43,13 @@ You will need the following information to establish a Windows connection:
Navigate to the **App Connections** page in your organization.
![App Connections Tab](/images/app-connections/general/add-connection.png)
</Step>
- <Step title="Select Windows Connection">
- Click the **+ Add Connection** button and select **Windows** from the available options.
+ <Step title="Select SMB Connection">
+ Click the **+ Add Connection** button and select **SMB** from the available options.
- ![Select Windows Connection](/images/app-connections/windows/windows-app-connection-option.png)
+ ![Select SMB Connection](/images/app-connections/smb/smb-app-connection-option.png)
</Step>
- <Step title="Fill out the Windows Connection Modal">
- Complete the Windows Connection form by entering:
+ <Step title="Fill out the SMB Connection Modal">
+ Complete the SMB Connection form by entering:
- A descriptive name for the connection
- An optional description for future reference
- The Windows server host (hostname or IP address)
@@ -58,17 +58,17 @@ You will need the following information to establish a Windows connection:
- The administrator username
- The administrator password
- ![Windows Connection Modal](/images/app-connections/windows/windows-app-connection-form.png)
+ ![SMB Connection Modal](/images/app-connections/smb/smb-app-connection-form.png)
</Step>
<Step title="Connection Created">
- After clicking Create, your **Windows Connection** is established and ready to use with your Infisical project.
+ After clicking Create, your **SMB Connection** is established and ready to use with your Infisical project.
- ![Windows Connection Created](/images/app-connections/windows/windows-app-connection-generated.png)
+ ![SMB Connection Created](/images/app-connections/smb/smb-app-connection-generated.png)
</Step>
</Steps>
</Tab>
<Tab title="API">
- To create a Windows Connection, make an API request to the [Create Windows
+ To create an SMB Connection, make an API request to the [Create SMB
Connection](/api-reference/endpoints/app-connections/smb/create) API endpoint.
### Sample request
diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsx
index 2281b7fb0c..9f49dea9a5 100644
--- a/docs/snippets/AppConnectionsBrowser.jsx
+++ b/docs/snippets/AppConnectionsBrowser.jsx
@@ -384,10 +384,10 @@ export const AppConnectionsBrowser = () => {
category: "DevOps Tools",
},
{
- name: "Windows",
- slug: "windows",
- path: "/integrations/app-connections/windows",
- description: "Learn how to connect to Windows servers via SMB for password rotation.",
+ name: "SMB",
+ slug: "smb",
+ path: "/integrations/app-connections/smb",
+ description: "Learn how to connect to Windows servers via SMB.",
category: "Networking & DNS",
}
].sort(function (a, b) {
diff --git a/frontend/public/images/integrations/SMB.png b/frontend/public/images/integrations/SMB.png
new file mode 100644
index 0000000000..caf64e3139
Binary files /dev/null and b/frontend/public/images/integrations/SMB.png differ
diff --git a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/WindowsLocalAccountRotationParametersFields.tsx b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/WindowsLocalAccountRotationParametersFields.tsx
index 680638857d..882e349be4 100644
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/WindowsLocalAccountRotationParametersFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/WindowsLocalAccountRotationParametersFields.tsx
@@ -33,7 +33,7 @@ export const WindowsLocalAccountRotationParametersFields = () => {
<span>Determines how the rotation will be performed:</span>
<ul className="mt-2 ml-4 flex list-disc flex-col gap-2">
<li>
- <span className="font-medium">Login as Root</span> - The Windows connection
+ <span className="font-medium">Login as Root</span> - The SMB connection
credentials of the app connection linked will be used to change the target
user&#39;s password.
</li>
@@ -53,7 +53,7 @@ export const WindowsLocalAccountRotationParametersFields = () => {
isUpdate
? "Cannot be updated."
: value === WindowsLocalAccountRotationMethod.LoginAsRoot
- ? "The Windows connection credentials will change the target user's password"
+ ? "The SMB connection credentials will change the target user's password"
: "The target user will change their own password"
}
>
diff --git a/frontend/src/helpers/appConnections.ts b/frontend/src/helpers/appConnections.ts
index a9d42a7137..fc70f3e098 100644
--- a/frontend/src/helpers/appConnections.ts
+++ b/frontend/src/helpers/appConnections.ts
@@ -142,7 +142,7 @@ export const APP_CONNECTION_MAP: Record<
[AppConnection.Chef]: { name: "Chef", image: "Chef.png", enterprise: true },
[AppConnection.OctopusDeploy]: { name: "Octopus Deploy", image: "Octopus Deploy.png" },
[AppConnection.SSH]: { name: "SSH", image: "SSH.png" },
- [AppConnection.SMB]: { name: "Windows", image: "Windows.png", size: 50 }
+ [AppConnection.SMB]: { name: "SMB", image: "SMB.png", size: 50 }
};
export const getAppConnectionMethodDetails = (method: TAppConnection["method"]) => {