Deleting a Key using the Key Name
To delete a key:
Call the
DeleteKey
method from theNaeKeyManagement
class.NaeKeyManagement nkm = new NaeKeyManagement(session);
Pass the key name as an argument that you want to delete .
nkm.DeleteKey(keyName);
Note
You cannot delete a specific version of the key.