code: def create_keypair(self, keypair_name):
          
          query = self.query_factory(
              action="CreateKeyPair", creds=self.creds, endpoint=self.endpoint,
              other_params={"KeyName": keypair_name})
          d = query.submit()
          return d.addCallback(self.parser.create_keypair)
docs: Create a new 2048 bit RSA key pair and return a unique ID that can be
          used to reference the created key pair when launching new instances.