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
add docs
x0322050e4582200b00
diff --git a/docs/docs.json b/docs/docs.jsonindex b2c3352ab6..df99dcea67 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -337,10 +337,10 @@"self-hosting/deployment-options/linux-upgrade"]},- "self-hosting/guides/replication",- "self-hosting/guides/upgrading-infisical",- "self-hosting/configuration/envars",- "self-hosting/configuration/requirements",+ "self-hosting/guides/replication",+ "self-hosting/guides/upgrading-infisical",+ "self-hosting/configuration/envars",+ "self-hosting/configuration/requirements",{"group": "Guides","pages": [@@ -804,7 +804,8 @@"documentation/platform/pam/getting-started/resources/aws-iam","documentation/platform/pam/getting-started/resources/kubernetes","documentation/platform/pam/getting-started/resources/redis",- "documentation/platform/pam/getting-started/resources/ssh"+ "documentation/platform/pam/getting-started/resources/ssh",+ "documentation/platform/pam/getting-started/resources/windows-server"]},"documentation/platform/pam/getting-started/accounts"diff --git a/docs/documentation/platform/pam/getting-started/resources/windows-server.mdx b/docs/documentation/platform/pam/getting-started/resources/windows-server.mdxnew file mode 100644index 0000000000..782c94a56a--- /dev/null+++ b/docs/documentation/platform/pam/getting-started/resources/windows-server.mdx@@ -0,0 +1,137 @@+---+title: "Windows Server"+sidebarTitle: "Windows Server"+description: "Learn how to configure Windows Server access through Infisical PAM for secure, audited, and just-in-time access to your Windows servers via RDP."+---++Infisical PAM supports secure, just-in-time access to Windows servers via the Remote Desktop Protocol (RDP).+This allows your team to access Windows servers without sharing long-lived credentials, while maintaining a complete audit trail of who accessed what and when.++## How It Works++Windows Server access in Infisical PAM uses an Infisical Gateway to securely proxy RDP connections to your Windows server. When a user requests access, Infisical establishes a secure tunnel through the Gateway, enabling access without exposing your server directly.++```mermaid+sequenceDiagram+ participant User+ participant CLI as Infisical CLI+ participant Infisical+ participant Gateway as Infisical Gateway+ participant Windows as Windows Server++ User->>CLI: Request Windows Server access+ CLI->>Infisical: Authenticate & request session+ Infisical-->>CLI: Session credentials & Gateway info+ CLI->>Gateway: Establish secure tunnel+ Gateway->>Windows: RDP connection (port 3389)+ Windows-->>Gateway: Session established+ Gateway-->>CLI: Proxied RDP session+ CLI-->>User: RDP access+```++### Key Concepts++1. **Gateway**: An Infisical Gateway deployed in your network that can reach the Windows server. The Gateway handles secure communication between users and your server.++2. **RDP Protocol**: Infisical connects to your Windows server using the Remote Desktop Protocol (RDP) on the configured port (default: 3389).++3. **Credential Validation via WinRM**: When creating or updating accounts, Infisical validates credentials by connecting to the Windows server's WinRM service (port 5985). This ensures credentials are correct before they are stored.++4. **Account Types**: Windows accounts can be categorized as either **User** accounts or **Service** accounts, allowing you to organize and manage different types of access.++## Prerequisites++Before configuring Windows Server access in Infisical PAM, you need:++1. **Infisical Gateway** - A Gateway deployed in your network with access to the Windows server+2. **RDP Enabled** - Remote Desktop must be enabled on the Windows server (port 3389 by default)+3. **WinRM Enabled** - Windows Remote Management must be enabled for credential validation (port 5985)+4. **Windows Credentials** - A username and password for a Windows account on the server++<Warning>+ **WinRM Required**: Infisical validates account credentials using WinRM (Windows Remote Management) on port 5985. Ensure WinRM is enabled on your Windows server by running the following command in an elevated PowerShell prompt:++ ```powershell+ winrm quickconfig+ ```++ By default, only administrators can authenticate via WinRM. Ensure the account you're configuring has WinRM access.+</Warning>++<Warning>+ **Gateway Required**: Windows Server access requires an Infisical Gateway to be deployed and registered with your Infisical instance. The Gateway must have network connectivity to your Windows server on both the RDP port (default: 3389) and WinRM port (5985).+</Warning>++## Create the PAM Resource++The PAM Resource represents the Windows server you want to manage access to.++<Steps>+ <Step title="Ensure Gateway is Running">+ Before creating the resource, ensure you have an Infisical Gateway running and registered with your Infisical instance. The Gateway must have network access to your Windows server.+ </Step>++ <Step title="Create the Resource in Infisical">+ 1. Navigate to your PAM project and go to the **Resources** tab+ 2. Click **Add Resource** and select **Windows Server**+ 3. Fill in the connection details:++ <ParamField path="Name" type="string" required>+ A friendly name for this resource (e.g., `production-windows`, `dev-server`)+ </ParamField>++ <ParamField path="Gateway" type="string" required>+ Select the Gateway that has network access to this Windows server+ </ParamField>++ <ParamField path="Hostname" type="string" required>+ The hostname or IP address of the Windows server (e.g., `192.168.1.100` or `server.internal.example.com`)+ </ParamField>++ <ParamField path="Port" type="number" required>+ The RDP port (default: `3389`)+ </ParamField>++ Clicking **Create Resource** will trigger a connection test from the selected Gateway to your Windows server. Infisical verifies that the server is reachable and responds to RDP connection requests.+ </Step>+</Steps>++## Create PAM Accounts++A PAM Account represents a specific Windows user account on the server. You can create multiple accounts per resource with different permission levels.++<Steps>+ <Step title="Navigate to the Resource">+ After creating the resource, click into it to open the resource detail view. Select the **Accounts** tab on the right.+ </Step>++ <Step title="Add Account">+ Click **Add Account**.+ </Step>++ <Step title="Fill in Account Details">+ Fill in the account details:++ <ParamField path="Name" type="string" required>+ A friendly name for this account (e.g., `admin-account`, `deploy-user`)+ </ParamField>++ <ParamField path="Account Type" type="string" required>+ Select the type of Windows account:+ - **User Account** - A standard Windows user account+ - **Service Account** - A Windows service account+ </ParamField>++ <ParamField path="Username" type="string" required>+ The Windows username on the server+ </ParamField>++ <ParamField path="Password" type="string" required>+ The Windows password for this user+ </ParamField>++ <Note>+ When creating the account, Infisical will validate the credentials by connecting to the server's WinRM service. Ensure the account has WinRM access (administrators have this by default).+ </Note>+ </Step>+</Steps>