code: def get_keyid(keyname):
      '''
      Return the ID of the keyname
      '''
      if not keyname:
          return None
      keypairs = list_keypairs(call='function')
      keyid = keypairs[keyname]['id']
      if keyid:
          return keyid
      raise SaltCloudNotFound('The specified ssh key could not be found.'f get_keyid(keyname):
      '''
      Return the ID of the keyname
      '''
      if not keyname:
          return None
      keypairs = list_keypairs(call='function')
      keyid = keypairs[keyname]['id']
      if keyid:
          return keyid
      raise SaltCloudNotFound('The specified ssh key could not be found.')
docs: Return the ID of the keyname