CollapseAll image

Remove a Public-Private Key Pair

The following steps describe how to remove a private key from the Intel AMT certificate store.

1.  Invoke AMT_PublicPrivateKeyPair.Get using the EPR of the public-private key returned when the key was created (see Add a Public-Private Key Pair).

2.  Invoke AMT_PublicPrivateKeyPair.Delete.

note-icon Note:

The public-private key pair cannot be deleted if an associated certificate is referenced by another service (for example TLS or EAC).

 

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

# $publicPrivateKeyPairRef is an EPR to the AMT_PublicPrivateKeyPair object created by the 'Add a Public-Private Key Pair' use case.

$publicPrivateKeyPairRef.Delete()

 

 

Instance Diagram

Not applicable

Classes Used in This Flow

SDK Sample

Copyright © 2006-2022, Intel Corporation. All rights reserved.