sudhe
Contributor
Contributor

Log into vCenter using certificate

I have a vMA running on my vSphere environment and want to execute esxcli (command-line interface) to get data from esxi host.  Right now, I have to provide vCenter credentials (username and password in some form) for esxcli client on vMA to connect to the vCenter and specify the host on which to execute the command. 

However, I want to use the certificate to login to vCenter (LoginExtensionByCertificate in vSphere API world) and then redirect the esxcli command to the host.

Is there a way to do this in vCLI ? 

Any input appreciated.

Thanks,

Sudheendra G Sampath

Reply
0 Kudos