Use "My Personal Credentials" in powershell

Use "My Personal Credentials" in powershell

avatar
JeanPaul
Disabled

I have RDM connected to Secret Server and it grabs my admin account there as "My Personal Credentials". Works fine for RDP sessions etc.
But there is more; I want to connect to my ESXi hosts but they are in locked down mode with no exceptions.
So in order to connect to them, i need to run powercli and connect to vCenter with my "My Personal Credentials"
Run a few commands to disable lock down and start SSH service

Next start the SSH-session and connect to my ESXi host with root and a unique password from Secret server
and after ending the session; put the host back in lockdown etc.
I'm looking into those events and that seems to be in the right direction but how can get my "My Personal Credentials" in powershell to connect to VC?

All Comments (5)

avatar

Hello Jean-Paul,

Thank you for contacting us on that matter!

I took the liberty of moving your thread to the Powershell section of our forum in order for one of our experts to help you with this.

Best regards,

James Lafleur

avatar

Hello,

I could not find any powershell CmdLet in our module that would allow us to get the "My Personal credentials" (from My Account Settings right?)
I will double check as soon as possible with an engineer, but I think this will end up on the feature request board.

Thanks!

Best regards,

Alex Belisle

avatar

Bump on this request. In building my custom credential, I am using BeyondTrust's Prividen Identity cmdlets to checkout a password. To login to Prividen, we use our AD credentials. We store our credentials in "My Personal Credentials" so being able to provide those as a credential object/variable in a RDM custom credential would be ideal. An alternative would be an interactive prompt in the custom credential. This would allow for supplying the reason as well as providing AD credentials.

avatar

Hello,
I just had a chat with the engineering team, they'll bump it up and see what they can do.
Thanks for your patience, we'll keep in touch.
Best regards,

Alex Belisle

avatar

Hi,

The latest release (2022.2.3.0) now has support for personal credential management.

Regards

Jonathan Lafontaine