- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-01-2023 07:14 PM
We have set up TOTP in our SaaS tenable.io login, is there a CPM plugin for this TOTP in P-Cloud available in the market place?
I found a plugin for psm at the market place, but could not figure out which one to use for cpm.
「TOTP MFA Code Generator」
Or do I need to make my own according to the following document?
https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PCP/Uploading-CPM-Plugins-to-PCP.htm
08-02-2023 12:59 AM
https://timschindler.blog/generating-time-based-one-time-passwords-in-privileged-session-manager-webapp-connectors
08-02-2023 01:01 AM
https://docs.cyberark.com/IdentityAdmin/Latest/en/Content/UserPortal/UseTOTP.htm
08-02-2023 02:40 AM
Hi RFS,
Thank you for sending the reference link.
We are using Privilege Cloud Shared Services and are trying to do the integration with the following youtube video.
https://www.youtube.com/watch?v=IeBscaqH-XQ
In the above video, I could not find how to create "MFADeviceKeys" whose Platform ID is in the red frame.
It didn't look like it was already offered in the marketplace, so I was wondering if I need to create a new one according to the following CyberArk documentation.
https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PCP/Uploading-CPM-Plugins-to-PCP.htm
What do you think?
08-02-2023 05:48 AM
The above will set you up for PSM but if you are trying to generate a TOTP as part of a CPM-plugin, take a look at 'Generate MFA Code' at https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/Plugins/CPM_WebApplication.htm#CreateaCPMpluginforawebbrowser.
The documentation's example has the TOTP secret hardcoded in the plug-in which isn't desirable so you could try doing what the blog post does and instead of
Run Generate_TOTP_MFA_Code (MFADeviceSecret=value)try
Run Generate_TOTP_MFA_Code (MFADeviceSecret={logonaccount\password})where the TOTP secret is stored as the logon account's password.
08-02-2023 05:37 PM
Hi Tim,
Thanks for the explanation. I will try it and give you feedback on the results.
08-21-2023 02:24 AM
Hi Tim,
With the assistance of a CyberArk representative, the TOTP connection was made successfully. However, I could not change the password of the account I set up for TOTP using the account for reconcile. 2FA error occurs.
I contacted tenable via our support vendor and was told that passwords for TOTP configured accounts cannot be changed via the API.
So I think the only way to manage passwords with CyberArk is to remove 2FA, but tenable.io is a cloud product and does not have the ability to restrict ip or domain connections from outside.
I wish there was a better way, but what do you think?
03-29-2024 04:04 AM
Hi Tim,
In order for "LogonAccount\Password" to work, we would need to add "LogonAccount" into supported capabilities in connection component.
03-29-2024 04:07 AM
Hi Nichizen,
I have the same query regarding the password management also. Currently, I have associate TOTP as logon account for AWS IAM Account. By right, my AWS Access keys is associate as logon account for password change purpose.
The workaround that I can think of is set ChangePasswordinResetMode = Yes, so can reset the password while AWS Access Key is associate as reconcile account. But I yet to tets out. 🙂
07-02-2025 01:01 AM
Hello,
Is there a way to generate TOTP code for CPM plugins for REST API applications?
Any insights on how to implement this would be appreciated as I'm new to this.
Kind regards,
Kevin
10-07-2025 07:27 AM
UPDATE:
I didn't manage to generate TOTP code in REST API cpm plugin so I rewrote the plugin using Credentials Management .NET SDK instead and it worked 🙂
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

