Skip to main content
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 an SMB connection:
  • Host - The hostname or IP address of the Windows server
  • Port - The SMB port (default is 445)
  • Username - A Windows administrator account with permissions to manage local accounts
  • Password - The password for the administrator account
  • Domain (optional) - The Windows domain name for domain-joined servers

Windows Server Requirements

  • SMB3 Support - This connection uses SMB3 with encryption enabled for secure communication with Windows servers.
  • Firewall Configuration - The server must be accessible from Infisical or from the Infisical Gateway if using it.
Run the following PowerShell command as Administrator on the Windows server to allow inbound SMB connections:
New-NetFirewallRule -DisplayName "Allow SMB Inbound" -Direction Inbound -Protocol TCP -LocalPort 445 -Action Allow
To verify the rule was created:
Get-NetFirewallRule -DisplayName "Allow SMB Inbound"

Setup SMB Connection in Infisical

1

Navigate to App Connections

Navigate to the App Connections page in your organization.App Connections Tab
2

Select SMB Connection

Click the + Add Connection button and select SMB from the available options.Select SMB Connection
3

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)
  • The SMB port (default is 445)
  • The domain name (optional, for domain-joined servers)
  • The administrator username
  • The administrator password SMB Connection Modal
4

Connection Created

After clicking Create, your SMB Connection is established and ready to use with your Infisical project.SMB Connection Created