code: def create_key(self, title, key, read_only=False):
          
          assert isinstance(title, (str, unicode)), title
          assert isinstance(key, (str, unicode)), key
          assert isinstance(read_only, bool), read_only
          post_parameters = {
              "title": title,
              "key": key,
              "read_only": read_only,
          }
          headers, data = self._requester.requestJsonAndCheck(
              "POST",
              self.url + "/keys",
              input=post_parameters
          )
          return github.RepositoryKey.RepositoryKey(self._requester, headers, data, completed=True)
docs: :calls: `POST /repos/:owner/:repo/keys <http://developer.github.com/v3/repos/keys>`_
          :param title: string
          :param key: string
          :param read_only: bool
          :rtype: :class:`github.RepositoryKey.RepositoryKey`