I am looking for a cpm plugin for TOTP in privilege cloud. Or do I need to make my own?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I am looking for a cpm plugin for TOTP in privilege cloud. Or do I need to make my own?

L1 Bithead

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

10 REPLIES 10

L7 Applicator

https://timschindler.blog/generating-time-based-one-time-passwords-in-privileged-session-manager-webapp-connectors

 

L7 Applicator

https://docs.cyberark.com/IdentityAdmin/Latest/en/Content/UserPortal/UseTOTP.htm

 

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.

Field_Content_versions_oct20__068Ht00000QvnSBIAZ.pngIt 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?

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.

Hi Tim,

Thanks for the explanation. I will try it and give you feedback on the results.

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?

 

Hi Tim,

 

In order for "LogonAccount\Password" to work, we would need to add "LogonAccount" into supported capabilities in connection component.

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. 🙂

L1 Bithead

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

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 🙂

  • 1299 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!