@cli.register_custom_action('<STR_LIT>', ('<STR_LIT>',))<EOL><INDENT>@exc.on_http_error(exc.GitlabProjectDeployKeyError)<EOL>def enable(self, key_id, **kwargs):<DEDENT>
path = '<STR_LIT>' % (self.path, key_id)<EOL>self.gitlab.http_post(path, **kwargs)<EOL>
Enable a deploy key for a project.

        Args:
            key_id (int): The ID of the key to enable
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabProjectDeployKeyError: If the key could not be enabled