async def ensureKeyPair(self, *args, **kwargs):
        """
        Ensure a KeyPair for a given worker type exists

        Idempotently ensure that a keypair of a given name exists

        This method takes input: ``v1/create-key-pair.json#``

        This method is ``experimental``
        """

        return await self._makeApiCall(self.funcinfo["ensureKeyPair"], *args, **kwargs)