def add_key(self, key_id, key):
data = {'<STR_LIT:name>': str(key_id), '<STR_LIT:key>': str(key)}<EOL>j, _ = self.request('<STR_LIT:POST>', '<STR_LIT>', data=data)<EOL>return j<EOL>
::

    POST /:login/keys

:param key_id: label for the new key
:type key_id: :py:class:`basestring`

:param key: the full SSH RSA public key
:type key: :py:class:`str`

Uploads a public key to be added to the account's credentials.