Remove-HPSureAdminSigningKeyFromKMS



Summary

Removes a signing key from HP Sure Admin Key Management Service (KMS)

Syntax

Remove-HPSureAdminSigningKeyFromKMS [-SigningKeyId] <String> [-KMSAppName] <String> [[-CacheAccessToken]] [<CommonParameters>]

Remove-HPSureAdminSigningKeyFromKMS [-SigningKeyId] <String> [-KMSUri] <String> [[-CacheAccessToken]] [<CommonParameters>]

Description

This command sends a HTTP request to remove the signing key from the HP Sure Admin Key Management Service (KMS). The connection with the KMS server requires the user to authenticate with a valid Microsoft account.

Parameters

Name Argument Description
SigningKeyId <String> Specifies the key id encoded in base64 that is used in the server to locate the key.
Use the Get-HPSureAdminKeyId command to extract the key id from a pfx certificate.
KMSUri <String> Specifies the complete URI for uploading the key (i.e.: https://.azurewebsites.net/). This URL must be HTTPS.
KMSAppName <String> Specifies the application name on Azure KMS server that will be used to compose the URI for uploading the key
CacheAccessToken If specified, the access token is cached in msalcache.dat file and user credentials will not be asked again until the credentials expire.
This parameter should be specified for caching the access token when performing multiple operations on the KMS server.
If access token is not cached, the user must re-enter credentials on each call of this command.

Notes

  • Supported on Windows Power Shell v5.
  • An HP Sure Admin KMS server is required for using this feature.

Examples


PS C:\> Remove-HPSureAdminSigningKeyFromKMS -SigningKeyId "<IdInBase64>" -KMSUri "https://MyKMSURI.azurewebsites.net/"