def create_key(self, title, key, read_only=False):
assert isinstance(title, (str, unicode)), title<EOL>assert isinstance(key, (str, unicode)), key<EOL>assert isinstance(read_only, bool), read_only<EOL>post_parameters = {<EOL>"<STR_LIT:title>": title,<EOL>"<STR_LIT:key>": key,<EOL>"<STR_LIT>": read_only,<EOL>}<EOL>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT:POST>",<EOL>self.url + "<STR_LIT>",<EOL>input=post_parameters<EOL>)<EOL>return github.RepositoryKey.RepositoryKey(self._requester, headers, data, completed=True)<EOL>
: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`