HPE OneView
cancel
Showing results for 
Search instead for 
Did you mean: 

HPEOneView PowerShell and two factor

 
PhS-
Frequent Advisor

HPEOneView PowerShell and two factor

Hello, Hope it's ok if I ask the question here.

We sucessfully configured the appliance to authorize two factor (for users with samrt card).

is it also possible to use the powershell module that way ? (using the user credential without having him to 're-autheticate')

Sorry if it's not the right place to ask...

 

PhS

2 REPLIES 2
PhS-
Frequent Advisor

Re: HPEOneView PowerShell and two factor

I should have done some digging first ... pretty easy

connect-OVMgmt -cert $cert -hostname fqdn.of.the.appliance

 

ChrisLynch
HPE Pro

Re: HPEOneView PowerShell and two factor

As you found, Connect-OVMgmt has a -Certificate parameter.  This allows a smartcard certificate to be used.  Example 3 demonstrates how to use the parameter.  Please know that while this does allow for X.509 smart card certificates to be used, ones that include or require a PIN to be provided are not.  I am not aware of any method to automate providing the PIN to unlock the smart card prior to using it in this way.

 
 

I am an HPE employee

Accept or Kudo