A PreConnect DLL for CyberArk's Privileged Session Manager that can be used to generate a TOTP. Tested on PSM version 12.2.
Simply build the solution inside of Visual Studio 2022.
- Copy the PreConnect DLL to
PSM/Components/. - Add the
LogonAccountcapability to the Connection Component underComponent Parameters > Target Settings > Supported Capabilities. - Configure the connection component as described in the documentation. Use
CyberArk.PSM.GenerateTOTPPreconnect.dllfor thePreConnectDllNamevalue andlogonaccount_passwordfor thePreConnectParametersvalue. - Use
&MfaCode&in the connection component's WebFormFields when you want to inject the TOTP.