Microsoft Virtualization Discussions

Any plans to support for certificate based authentication for the powershell toolkit

STEVEWILLSQ
2,094 Views

As per the title, one my customers has queried if there are any plans for connect-nccontroller to allow certificiate based authentication from the credential cache so we could use 

 

PS> $cert = Get-Credential

PS> connect-nccontroller <controller. -Credential $cred -HTTPS

 

I know the underlying NMSDK allows this.

1 REPLY 1

donny_lang
2,056 Views

You might be able to use the CredentialManager module (available in the PSGallery at https://www.powershellgallery.com/packages/CredentialManager/2.0) to accomplish this. Something like:

 

$creds = Get-StoredCredential <name of certificate-based cred in the Windows Credential Manager> 

Connect-NcController <controller> -Credential $creds -HTTPS 

 

I have not tested this to see if it would actually work, but it might lead you down the right path. Hope that helps!

 

Donny

Public