DeleteKeyPair Method
Deletes a specified KeyPair.
Syntax
[VB.NET] Public Sub DeleteKeyPair(ByVal KeyName As String)
[C#] public void DeleteKeyPair(string keyName);
Remarks
Removing a key pair will prevent anyone using the deleted Key name from accessing any EC2 resources.