Dependencies apply to Windows accounts only: Windows AD (domain) and Windows (local).
Detected dependency types
Detection
Dependencies are detected during Active Directory discovery when the Discover account dependencies option is enabled on the source. This option is off by default. When enabled, discovery locates the domain-joined Windows servers, connects to each over WinRM through the Gateway, and enumerates the services, scheduled tasks, and IIS application pools that run under a discovered account. Each detected dependency is anchored to the stable identity of the account it runs as, so it is linked to the correct managed account once that account is imported. Re-running a scan updates the dependency list in place rather than creating duplicates, and a dependency that is no longer found on a re-scanned machine is removed.Discover account dependencies is independent of Discover local accounts, so you can enable either or both. Both reach your servers over WinRM, so the source’s WinRM settings (port, HTTPS, and CA certificate) apply to dependency detection as well. Dependencies are detected from the servers within the source’s scan scope.
Rotation (sync)
When a Windows account’s password rotates, Infisical pushes the new password to each of the account’s dependencies so they continue to authenticate:1
Connect to each dependency's machine
Using the account’s rotation account, Infisical connects over WinRM to the machine each dependency runs on. For domain accounts, machine hostnames are re-resolved through the domain controller’s DNS at sync time so a stale address cannot target the wrong host.
2
Update the stored credential
The new password is written to the dependency:
Because sync keeps dependent services working, dependencies detected on the scanned servers are included automatically. Make sure the servers within a discovery source’s scan scope are ones you trust to run as your managed accounts.
Next Steps
Active Directory Discovery
Enable server scanning to detect dependencies.
Windows Credential Rotation
How Windows and AD account passwords are rotated.