Details
Description
Steps:
1. Register 2 SSH keypairs sequentially in the same account, both with identical public key text, and with names "keypair1" and "keypair2"
2. Send deployVirtualMachine request, with the keypair parameter set to "keypair2"
3. deployVirtualMachine response sends back value "keypair1"
I am using this with the Terraform (IaC) project and this behaviour breaks convergence. I would expect that either
duplicate copies of the same SSH key are not allowed to be registered
(ii) instance must send back the same key pair name as was requested