Deleting a Key using the Key Name
To delete a key:
Call the
DeleteKeymethod from theNaeKeyManagementclass.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.