Get-HPSureAdminKeyId



Summary

Extracts the key id from a certificate

Syntax

Get-HPSureAdminKeyId [-Certificate] <X509Certificate2> [<CommonParameters>]

Get-HPSureAdminKeyId [-CertificateFile] <FileInfo> [[-CertificateFilePassword] <String>] [<CommonParameters>]

Description

This command retrieves the key id from a certificate. The key id used by HP Sure Admin Key Management Service (KMS) for remote signing.

Parameters

Name Argument Description
Certificate <X509Certificate2> Specifies the X509Certificate2 certificate
CertificateFile <FileInfo> Specifies the certificate in PFX file
CertificateFilePassword <String> Specifies the password for the PFX file

Examples


PS C:\> Get-HPSureAdminKeyId -Certificate X509Certificate2

PS C:\> Get-HPSureAdminKeyId -CertificateFile mypfxcert.pfx