CreateKeyPair Method
Creates a new key pair to use while launching Instances.
Object Oriented Interface
public function doCreateKeyPair($keyname);
Procedural Interface
inamazon_ec2_do_createkeypair($res, $keyname);
Remarks
Creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances.
The material for the private key will be returned from the method call. A user can use this material to save this key to a file, or pass to another program as desired.