Any plans to support for certificate based authentication for the powershell toolkit
2019-06-05 01:57 AM
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
Re: Any plans to support for certificate based authentication for the powershell toolkit
2019-06-05 06:42 AM
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!