::
        
            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.

def add_key(self, key_id, key):
        """
        ::
        
            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.
        """
        data = {'name': str(key_id), 'key': str(key)}
        j, _ = self.request('POST', '/keys', data=data)
        return j