def create_key(self, key, name): data = {"name": name, "public_key": key} return Key.create_new(data, self.authentication_token)