Skip to main content
Infisical supports the use of Simple Binding to connect with your LDAP provider.

Prerequisites

You will need the following information to establish an LDAP connection:
  • LDAP URL - The LDAP/LDAPS URL to connect to (e.g., ldap://domain-or-ip:389 or ldaps://domain-or-ip:636)
  • Binding DN/UPN - The Distinguished Name (DN), or User Principal Name (UPN) if supported, of the principal to bind with (e.g., ‘CN=John,CN=Users,DC=example,DC=com’)
  • Binding Password - The password to bind with for authentication
  • CA Certificate - The SSL certificate (PEM format) to use for secure connection when using ldaps:// with a self-signed certificate
Depending on how you intend to use your LDAP connection, there may be additional requirements:
For Password Rotation, the following requirements must additionally be met:
  • You must use an LDAPS connection
  • The binding user must either have:
    • Permission to change other users passwords if rotating directory users’ passwords
    • Permission to update their own password if rotating their personal password

Setup LDAP Connection in Infisical

  1. Navigate to the Integrations tab in the desired project, then select App Connections. App Connections Tab
  2. Select the LDAP Connection option. Select LDAP Connection
  3. Select the Simple Bind method option and provide the details obtained from the previous section and press Connect to Provider. Create LDAP Connection
  4. Your LDAP Connection is now available for use. Assume Role LDAP Connection

Automatic Credential Rotation

Infisical can automatically rotate the binding password of your LDAP connection on a recurring schedule. This is a single-phase rotation, meaning only one password exists at any given time. When a rotation occurs, the old password is replaced immediately.
Any external systems using the same binding credentials will lose access once a rotation completes. Make sure only Infisical relies on the rotated credentials.
When creating or editing your LDAP connection, toggle on the Automatic Credential Rotation switch and configure the rotation schedule. LDAP Automatic Credential Rotation
  • Rotation Interval - How many days between each rotation.
  • Rotate At - The local time of day at which the rotation will be triggered.