To delete a key pair, complete the following steps:
./iaas-delete-key-pair --base-url https://<localhost>/ --access-key-file ak.file --key-name myKeyPair
The command deletes the specified key pair. The command does not return any value; only the command prompt is displayed.
./iaas-describe-key-pairs --base-url https://<localhost>/ -a ak.file
This command returns the list of all key pairs in your Account. In the output, you should not see the key pair that you deleted.
Scripting on this page enhances content navigation, but does not change the content in any way.