docs: def from_name(cls, name):
          """Retrieve a sshkey id associated to a name."""
          sshkeys = cls.list({'name': name})
          if len(sshkeys) == 1:
              return sshkeys[0]['id']
          elif not sshkeys:
              return
  
          raise DuplicateResults('sshkey name %s is ambiguous.' % name)