Remove-HPSureAdminEndorsementKeyFromKMS



Summary

Removes an endorsement key from HP Sure Admin Key Management Service (KMS)

Syntax

Remove-HPSureAdminEndorsementKeyFromKMS [-EndorsementKeyId] <String> [-KMSAppName] <String> [[-CacheAccessToken]] [<CommonParameters>]

Remove-HPSureAdminEndorsementKeyFromKMS [-EndorsementKeyId] <String> [-KMSUri] <String> [[-CacheAccessToken]] [<CommonParameters>]

Description

This command sends a HTTP request to remove the endorsement 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
EndorsementKeyId <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-HPSureAdminEndorsementKeyFromKMS -EndorsementKeyId "<IdInBase64>" -KMSUri "https://MyKMSURI.azurewebsites.net/"