def METHOD_NAME(self, key):
    rc, stdout, stderr = self.execute(
        (
            self.command.get('ssh-keygen'),
            '-i',
            '-m', 'PKCS8',
            '-f', '/proc/self/fd/0',
        ),
        stdin=key.decode().split('\n'),
    )
    return stdout[0]